1847020 Members
3603 Online
110258 Solutions
New Discussion

RAM

 
SOLVED
Go to solution
j773303
Super Advisor

RAM

Which command can show the ram size? Thanks.
Hero
6 REPLIES 6
Rajeev  Shukla
Honored Contributor
Solution

Re: RAM

swapinfo, dmesg can tell you the RAM size. You can even see through sam or by using adb..

Cheers
Rajeev
Michael Tully
Honored Contributor

Re: RAM

Depending on your OS version as which options is best for you.

HP-UX 10x

# echo physmem/D | adb -k /stand/vmunix /dev/kmem
physmem:
physmem: 24576

for HP-UX 11.x systems running on 32 bit architecture:
example:

# echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem
phys_mem_pages:
phys_mem_pages: 24576

for HP-UX 11.x systems running on 64 bit architecture:
example:

# echo phys_mem_pages/D | adb64 -k /stand/vmunix /dev/mem
phys_mem_pages:
phys_mem_pages: 262144

The results of these commands are in memory pages, multiply by 4096
to obtain the size in bytes.
Anyone for a Mutiny ?
Sritharan
Valued Contributor

Re: RAM

Hi,

you can use command
dmesg , top and

sam
Performance Monitors -> System Properties


to view the the RAM size

Thanks & Regards
Sri
Known is a drop...unknown is an ocean -> quote from a movie
Yogeeraj_1
Honored Contributor

Re: RAM

hi,

you will also get a detailed report in glance (option: m - Memory Report)

You can also get the the processes sorted by size of core image using the attached psram.sh script!
# Usage:
# psram [ quantity ]
#
# where quantity is the top RAM processes to show (default is 20)
#

hope this helps!

Best regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Sundar_7
Honored Contributor

Re: RAM


But dont ever go by the RAM info shown in the swapinfo command.
Learn What to do ,How to do and more importantly When to do ?
ldw_1
Frequent Visitor

Re: RAM

Please try this
# echo "selclass qualifier memory;info;wait;infolog"|cstm > /tmp/meminfo
# vi /tmp/meminfo

You can get more detail RAM info about hardware, such as memory board inventory.