1825776 Members
1961 Online
109687 Solutions
New Discussion

Memory % use

 
Enrique_29
New Member

Memory % use

May you help me about display % use of memory
What is the command?


Thanks
3 REPLIES 3
Geoff Wild
Honored Contributor

Re: Memory % use

glance or top will give some info...

Attached c program does as well 9just compile it with cc).

Example:

# memdetail
Memory Stat total used avail %used
physical 10080.0 10033.1 46.9 100%
active virtual 12821.5 5299.0 7522.5 41%
active real 7987.7 3238.1 4749.5 41%
memory swap 7693.0 1491.9 6201.0 19%
device swap 26528.0 11890.0 14638.0 45%

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.
Steven E. Protter
Exalted Contributor

Re: Memory % use

Attaching a few scripts that can be helpful for analysis of memory and other performance issues.

Glance/gpm are great tools, though licensing is required after the first 60 days of use.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Nguyen Anh Tien
Honored Contributor

Re: Memory % use

I like Geoff solution. It is really good.
To Geoff: pls guide me how to write C for HP-UX (I know C but do not know functions for HPUX)
Any official doc are highly apreciate
HP is simple