1838655 Members
3518 Online
110128 Solutions
New Discussion

Re: Memory usage

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

Memory usage

Hi:

How can i know wich process is using more memory than others on HP-UX 11.00. I have Glance Plus but i can not see that. Pls help me
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Memory usage

Hi Edwin,

You don't need Glance to see it. You can use the command

UNIX95= ps -e -o 'vsz pid ruser args' |sort -n |tail -1


to get that information. Look at 'man ps' for more information on vsz. The space between = and ps is required.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Helen French
Honored Contributor

Re: Memory usage

You can easily find this out from GlancePlus (gpm or glance). Drill down towards memory reports, and you can even get information about individual processes resource usage.

Also use commands like ps, vmstat, sar and top to find resource usage:

# UNIX95= ps -e -o 'vsz pid ruser args'
Life is a promise, fulfill it!
Elena Leontieva
Esteemed Contributor

Re: Memory usage

Or
UNIX95= ps -e -o ruser,pid,vsz=Kbytes |sort -nrk3

Will give you a list in descending order by memory usage.
Edwin Ruiz_2
Super Advisor

Re: Memory usage

Thanks