<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { margin-top: 0 ; margin-bottom: 0 }
 --></style><title>Re: simple memory commands</title></head><body>
<div>At 12:52 PM -0700 6/27/07, Tom Spec wrote:</div>
<blockquote type="cite" cite>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:<br>
<br>
Rank    PID    Name   
Mem<br>
1        2134  
httpd    22MB<br>
2        2135  
httpd    21MB<br>
3        3287  
mysqld  18MB<br>
4        6685   ddclient
7MB</blockquote>
<blockquote type="cite" cite>...</blockquote>
<div><br></div>
<div>Start with top, sorted by RSS?</div>
<div><br></div>
<div>Start with ps (don't know the incantation, but it's
doable)?</div>

<div>-- <br>
_________________________________________<span
></span>___________________________<br>
TonyN.:'         <span
></span
>          <span
></span>   
<mailto:tonynelson@georgeanelson.com><br>
     
'          <span
></span
>          <span
></span>         
<http://www.georgeanelson.com/></div>
</body>
</html>