Solved

Check Memory Size

Posted on 2006-11-07
2
4,551 Views
Last Modified: 2013-12-27
Hi,

Under Solaris 8, how can I check the real memory size (not include the swap memory)in my server?

In using the top command, the size of real memory is shown.
Is this the correct value I am looking for?

Please advise.
0
Comment
Question by:cplau
2 Comments
 
LVL 3

Accepted Solution

by:
jhartzen earned 100 total points
Comment Utility
Quick and dirty solution:
prtconf | grep Memory

You can also try prtdiag, which is not in the default execute path on older versions of Solaris, eg with Solaris 8 you need to type:
/usr/platform/`uname -i`/sbin/prtdiag

There are other ways, but the above two methods will give you info about the hardware, not about what Solaris has done with it or how it is using it.
0
 
LVL 38

Expert Comment

by:yuzh
Comment Utility
or type in:
/usr/platform/`uname -m`/sbin/prtdiag  | grep -i memory

/usr/platform/`uname -m`/sbin/prtdiag  
will give some details about your hareware.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Expiration of TSM data 17 88
netstat -a in AIX unix 8 26
Solaris OS patch 3 28
remove a combination of patterns from a file 15 48
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now