swap space usage

Stephan Wonczak a0033 at rrz.uni-koeln.de
Thu Jan 4 02:54:48 CST 2007


On Wed, 3 Jan 2007, catam wrote:

> Same info comes from ps :)
>
> ps axu|head -2

   Hmmm.... BSD syntax on linux ... I hate that :-)

> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> root         1  0.0  0.0  1516  376 ?        S     2006   0:28 init

   I usually use 'ps' that way to find 'biggest offenders'

# ps -e -o pid,rss,cmd|sort -n -k2

   From my experience, look for long-running python processes; they seem to 
be especially prone to memory leaks. Just yesterday I killed a 'greceptor' 
(part of the Ganglia monitor) that had grown to almost 2 GB.

 	Dipl. Chem. Dr. Stephan Wonczak

         Zentrum fuer Angewandte Informatik (ZAIK)
         Regionales Rechenzentrum der Universitaet zu Koeln (RRZK)
         Universitaet zu Koeln, Robert-Koch-Strasse 10, 50931 Koeln
         Tel: ++49/(0)221/478-5577, Fax: ++49/(0)221/478-5590



More information about the Linux-PowerEdge mailing list