Home OPERATING SYSTEMS General How to Get RAM Size on Unix Platforms?

How to Get RAM Size on Unix Platforms?

E-mail Print PDF
User Rating: / 2
PoorBest 
If you want to learn the real memory size of your server please execute the commands related to your operating system

Solaris display Memory Size (RAM size):

prtconf | grep Mem

or

prtconf|grep -i mem

Available page sizes (SWAP) for Solaris:

pagesize -a

Display RAM Size on HP-UX:

dmesg

Display RAM Size on AIX

lsdev -C|grep mem

Now if memory device is mem0, then type

lsattr -El mem0

All linux distro:

free

Also almost all UNIX system support vmstat command, use vmstat to get more info.

vmstat
Comments (1)add comment

Mohammed Naseeruddin Khan said:

Mohammed Naseeruddin Khan
...
I want to share my knowledge and gain something from this site, it really helps
July 31, 2009

Write comment
smaller | bigger

security image
Write the displayed characters


busy
 

Our valuable member Huseyin Bilgen has been with us since Saturday, 06 May 2006.