1846977 Members
4234 Online
110257 Solutions
New Discussion

Re: ps by memory usage

 
SOLVED
Go to solution
Joseph Bague
Frequent Advisor

ps by memory usage

Hi to all,

How to ps sorted by memory usage? Or is there any other command that will print the process memory usage

Tnxs in advance :)
Joseph
Expect nothing but ready for everything
2 REPLIES 2
Pete Randall
Outstanding Contributor
Solution

Re: ps by memory usage

Joseph,

Try this:

UNIX95= ps -eo 'vsz pid args' |sort -nr |head -20

Note the space between the = sign and the "ps".



Pete


Pete
Rajeev  Shukla
Honored Contributor

Re: ps by memory usage

Will command "top" help you,
have a look at man pages of top