Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find memory used and free memory on HP-UX 2

Status
Not open for further replies.

dbadmin

Programmer
Jan 3, 2003
147
0
0
US
Hi,

How could you find the used memory and free memory on HP-UX? Is it vmstat? or top. The values shown by these commands are different. I am confused.

Thanks,
dbadmin
 
Hi,

SAM will give you the information. SAM -> Performance Monitors -> System Properties.

cheers,



 
If i remember rightly vmstat shows you the memory in 4K pages so some small arithmetic is required :)
 
dmesg | awk '/Physical:/ && /Kbytes/ {print $2}'
or
getconf KERNEL_BITS
64
echo "phys_mem_pages/D" | adb64 /stand/vmunix /dev/mem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top