[NTLUG:Discuss] ...who has the memory...

MadHat madhat at unspecific.com
Tue Jul 31 08:03:56 CDT 2001


At 07:51 PM 7/30/2001 -0500, you wrote:
>Victor Brilon wrote:
> >
> > Check out the 'top' command and its associated man page :)
>
>Yes - but top only shows the top processes (in terms of CPU time consumption).
>
>If you have a near-dormant process that's hogging most of your memory, you
>may not see it in top.
>
>The better way may be to use good old-fashioned 'ps' with appropriate 
>arguments.
>

Not true at all, you can sort by any column and when in X and have an odd 
sized XTerm, it is very possible to see all the processes.  You can also 
only show specific processes owned by a particular user.  run top and hit the ?

Interactive commands are:

space   Update display
^L      Redraw the screen
fF      add and remove fields
oO      Change order of displayed fields
h or ?  Print this list
S       Toggle cumulative mode
i       Toggle display of idle proceses
c       Toggle display of command name/line
l       Toggle display of load average
m       Toggle display of memory information
t       Toggle display of summary information
k       Kill a task (with any signal)
r       Renice a task
P       Sort by CPU usage
M       Sort by resident memory usage
T       Sort by time / cumulative time
u       Show only a specific user
n or #  Set the number of process to show
s       Set the delay in seconds between updates
W       Write configuration file ~/.toprc
q       Quit



>----------------------------- Steve Baker -------------------------------
>HomeMail : <sjbaker1 at airmail.net>   WorkMail: <sjbaker at link.com>
>HomePage : http://web2.airmail.net/sjbaker1
>Projects : http://plib.sf.net     http://tuxaqfh.sf.net  http://tuxkart.sf.net
>            http://agtoys.sf.net   http://prettypoly.sf.net
>            http://freeglut.sf.net http://toobular.sf.net
>_______________________________________________
>http://www.ntlug.org/mailman/listinfo/discuss

--
MadHat at unspecific.com




More information about the Discuss mailing list