1829759 Members
21574 Online
109992 Solutions
New Discussion

Real memory in used

 
Soeguet
Contributor

Real memory in used

Hello,

how can I determinate on HP-UX.11 OS, which the real memory in total used and which is free. The TOP-Command indicates wrog value.

Bye
S.Soeguet
2 REPLIES 2
Ken Hubnik_2
Honored Contributor

Re: Real memory in used

You can use glance. There is a mem command ...on hpux 11.00 /sbin/mem.
James Murtagh
Honored Contributor

Re: Real memory in used

Hi,

You can take the difference for the installed memory and the used memory.

# echo phys_mem_pages/D|adb -k /stand/vmunix /dev/kmem
phys_mem_pages:
phys_mem_pages: 131072
# echo freemem/D|adb -k /stand/vmunix /dev/kmem
freemem:
freemem: 60484

So here you have (131072-60484)*4096 ~ 282MB used.

You can also use vmstat and look for the "free" column for the number of free pages you have.

Regards,

James.