Operating System - Linux
1819974 Members
3298 Online
109607 Solutions
New Discussion юеВ

How to find the list of processes which are consuming more swap space?

 
SOLVED
Go to solution
bullz
Super Advisor

How to find the list of processes which are consuming more swap space?

Hello Guruz,

How to find the list of process which are consuming more swap space?
My OS is Linux debian XX.

total used free shared buffers cached
Mem: 2075656 2022200 53456 0 3484 484544
-/+ buffers/cache: 1534172 541484
Swap: 2000084 1733660 266424

Please advise.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: How to find the list of processes which are consuming more swap space?

Shalom,

ps has means for showing how much swap space a process is using.

As a matter of fact, top can also show you this information.

http://www.commandlinefu.com/commands/using/ps

http://groups.google.co.in/group/comp.sys.hp.hpux/browse_thread/thread/7c4ac0033ce706c8/600ccdc16fd04f0b?lnk=gst&q=glance&rnum=15

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
avizen9
Esteemed Contributor
Solution

Re: How to find the list of processes which are consuming more swap space?

Yes top can show good info try this
open top command
press O (capital)followd by p
bullz
Super Advisor

Re: How to find the list of processes which are consuming more swap space?

Yes.! useful info. Thanx
Vitaly Karasik_1
Honored Contributor

Re: How to find the list of processes which are consuming more swap space?

In fact, I don't think that this info (how much swap) is important for troubleshooting of high swaping problem.

I suggest to review processes which take many *memory*, not swap.