[NTLUG:Discuss] ...who has the memory...
kbrannen@gte.net
kbrannen at gte.net
Tue Jul 31 22:27:58 CDT 2001
Victor Brilon wrote:
>
> Yes you will. Hit 'M' (note that's a capital M. lowercase m turns off
> memory info) to sort by memory usage. From the top manpage on the
> attributes shown for each process:
You should also get familiar with "ps". Try "ps -el" and look at the "SZ"
column. Note, some systems auto alias ps to something stupid which will not
allow that command to work correcly; if yours is like that, try "unalias ps"
first (if you get an error).
There are other args which also may be interesting, e.g. "ps -ev" , "ps -ev
-Os" (which sorts on size), "ps -ev -Ov" (sorts on virtual memory), etc. You
can also use the "-o" option to get only the columns you want "ps -e -o
pid,rss,sz,cmd --sort rss".
Kevin
More information about the Discuss
mailing list