simple memory commands

Tony Nelson tonynelson at georgeanelson.com
Wed Jun 27 20:56:10 UTC 2007


At 12:52 PM -0700 6/27/07, Tom Spec wrote:
>Ok, I guess I should have given more information.  Let's say specifically,
>I wanted to run a script that will output the top 20 memory consuming
>processes as follows:
>
>Rank    PID    Name    Mem
>1        2134   httpd    22MB
>2        2135   httpd    21MB
>3        3287   mysqld  18MB
>4        6685   ddclient 7MB
>...

Start with top, sorted by RSS?

Start with ps (don't know the incantation, but it's doable)?
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070627/49194e09/attachment-0001.htm>


More information about the fedora-list mailing list