Operating System - HP-UX
1833883 Members
2060 Online
110063 Solutions
New Discussion

searching for "ps" info to deliver memory usage for process

 
SOLVED
Go to solution
Jerry L. Sims
Frequent Advisor

searching for "ps" info to deliver memory usage for process

HP-UX B.11.11 9000/800/rp7410

Looking for command to deliver memory usage
by process ?
2 REPLIES 2
Bill Hassell
Honored Contributor
Solution

Re: searching for "ps" info to deliver memory usage for process

Use this:

UNIX95= ps -o vsz,pid,ppid,ruser,args | sort -rn | more

This sorts the processes by memory usage.


Bill Hassell, sysadmin
Navin Bhat_2
Trusted Contributor

Re: searching for "ps" info to deliver memory usage for process

Ok not sure what kind of memory you are looking for (real or virtual etc..) but you can try using this command to help you.

UNIX95= ps -eo "sz,vsz,args"

You can get a description from man ps for each of these arguments and what they stand for.

You could also use the "top" command or glance utility to help you with this information.