1834935 Members
2188 Online
110071 Solutions
New Discussion

Re: memory size

 
Sascha Krueger
Occasional Advisor

memory size

Who can I determine the static and dynamic memory size using the command line ?
I run HP - UX 11.00.
Thanks in advance.
Unix - Administration
6 REPLIES 6
eran maor
Honored Contributor

Re: memory size

Hi

for static memory you can use

1. dmesg
2. SAM -> Performance Monitor -> System Properties -> Memory

for the bufer chase find what is the size of the kernel param : dbc_max_pct.

love computers
eran maor
Honored Contributor

Re: memory size

Hi again

for the swap size you can use the swapinfo -t
and also if you have glance install you can check the size of the memory
love computers
federico_3
Honored Contributor

Re: memory size

for 10.20 ( memory in MBs)
echo "physmem/D "| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '[print $2/256} '

for 11.00

echo "phys_mem_pages/D "| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '[print $2/256} '

Vincenzo Restuccia
Honored Contributor

Re: memory size

If you have STM:
echo "selclass qualifier memory;info;wait;infolog"|cstm
Pedro Sousa
Honored Contributor

Re: memory size

Hi.
another way:
grep -i physic /var/adm/syslog/syslog.log
CHRIS_ANORUO
Honored Contributor

Re: memory size

Hi,

Try for 11.00 memory- echo "phys_mem_pages/D "| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '[print $2/256} '

The bufpages, check with "sysdef|pg" or use:
echo "bufpages/D" | adb -k /stand/vmunix /dev/kmem
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.