Dear colleagues,
My question was basically: "My swap space is full. "top" does not
indicate anything special. How can I find the culprit(s)?"
1) The consensual answer is: "ps aux" and look at the VSZ column that
indicates the virtual address size of each process.
From: System Janitor <hubcap_at_hubcap.clemson.edu>
Jay Shen <jshen_at_kidsat.ucsd.edu>
- A little bit more elaborated, from Steve McLaughlin
(mclaughl_at_nssdc.gsfc.nasa.gov)
Try something like this command:
ps aux | sort -k 5n | grep -v K > /tmp/sort
It'll sort the VSZ column. Then you can see what process
is taking all the swap space.
2) Run "du" on /proc (from alan_at_nabeth.cxo.dec.com)
Indeed, "du -k -a /proc" worked equally well
3) A remark from Christophe Wolfhugel <wolf_at_pasteur.fr>: top reports only
active processes.
Thanks for answering kindly and patiently to my naive questions. How nice
is a group without flames, agressivity and arrogance! Certainly partly due
to our iron-handed manager....
Jean-Loup
--
---------------------------------------------------------------------
| Jean-Loup Risler | |
| Universite de Versailles | Tel: (33-1) 39 25 45 54 |
| Lab. Genome et Informatique | Fax: (33-1) 39 25 45 69 |
| Batiment Buffon | |
| 45 Avenue des Etats-Unis | email: risler_at_genetique.uvsq.fr |
| 78035 Versailles Cedex France | |
---------------------------------------------------------------------
Received on Sat Dec 21 1996 - 17:15:29 NZDT