[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: what process is using swap




> -----Original Message-----
> From: Michael Naumann [mailto:mnaumann@giga-stream.de]
> Sent: Wednesday, December 04, 2002 9:46 AM
> To: debian-user@lists.debian.org
> Subject: Re: what process is using swap
>
>
> On Wednesday 04 December 2002 12:05, Patrick Hsieh wrote:
> > Hello list,
> >
> > Is there any way to know what process is using the swap space?
>
>
> From "man ps":
>   Programs swapped out to disk will be shown without command line
> arguments,
>   and unless the c option is given, in brackets
>
> HTH, Michael

"top" is another option. Keep in mind that 'swap used' is a complicated
concept when you take into account shared process memory. OTOH if you are
just looking to find your piggy processes, top or ps should do quite nicely.

Try running top then hitting 'M' to sort by physical memory use. That should
help you find your big processes.



Reply to: