I am trying to find physical memory on Hp 9000/800 boxes. I know i can find from /var/adm/syslog.log , but i want to know is thery any command which i can use from prompt other than dmesg.
# echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem
(The results of these commands are in memory pages, multiply by 4096
to obtain the size in bytes)
/usr/sam/lbin/getmem
These only work if you are "root". You can write a very simple C program that manipulates the "pstat.h" library, and will work as any user.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.