1833048 Members
2512 Online
110049 Solutions
New Discussion

HP server memory

 
SOLVED
Go to solution
Mark Philip L. Castro
Occasional Advisor

HP server memory

What is the command to display the physical memory of an HP server?
6 REPLIES 6
T G Manikandan
Honored Contributor

Re: HP server memory

#echo 'phys_mem_pages/D'|adb -k /stand/vmunix /dev/kmem

else

#grep "Physical" /var/adm/syslog/syslog.log
T G Manikandan
Honored Contributor

Re: HP server memory

The above commands show the size of the memory.

If you are trying to find out the memory DIMMS on the slots use cstm

# echo "selclass qualifier memory;info;wait;infolog"|cstm > /tmp/memory.out
twang
Honored Contributor

Re: HP server memory

report memory usage:
# /usr/contrib/Q4/bin/kmeminfo
Geoff Wild
Honored Contributor

Re: HP server memory

Here's a little script called hpmem:

# hpmem
HP-UX pc0003 B.11.11 U 9000/800 2504392627 unlimited-user license
CPU Count: 6
CPU Speed: 750 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 10080 MB
bufpages: 806 MB
maxuprc: 800
maxvgs: 128
maxfiles: 2048
max_thread_proc: 256
nfile: 189100
nflock: 1200
nproc: 2560
ninode: 16384
shmmax: 1073741824
shmmni: 256
dbc_max_pct: 8

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Pnaidu
Frequent Advisor
Solution

Re: HP server memory

#dmesg |grep "Physical"
Mohanasundaram_1
Honored Contributor

Re: HP server memory

Hi Mark,

dmesg option is not going to work if the message buffer had overflow of some error messages, like SCSI lbolt errors.

dmesg will just return a BLANK then. Manikandan's idea is good and geoff's script is very good. use them.

Cheers,
mohan.
Attitude, Not aptitude, determines your altitude