SWAP is full
Hi I wanted to know which process is eating my SWAP ? how can I tell that?
Hi I wanted to know which process is eating my SWAP ? how can I tell that?
Well... right off the bat.. check out the interactive command top: run it and then press z, then x, then use the < key (Shift-,) to sort by RES or VIRT. That should give you a big idea what's using the most RAM. Also, try h to see the help page, which will show you that you can also press F to pick the sort field, and can even sort by fields that aren't currently displayed, e.g. Swap. Check it out.
Similarly, you can check out ps with something like:
ps -eo pid,user,rss,comm --sort=-rss | head
... which will show you the top-9 RAM-using processes, which will of course be likely to illuminate what is forcing apps into swap.
Lastly, if you're running gnome like I am, gnome-system-monitor is great. Just go to the processes tab.
Run "top" command from the command line -
$ top
Press Capital "O" (without quotes) and then press small "p" (without quotes) and then hit "Enter" key. The process should now be sorted with the amount of Swap space usage.
Asked: 2011-12-31 15:23:28 -0600
Seen: 381 times
Last updated: Jan 01 '12
Feodra fails to load after accidental swap remove
What does the "swap" partition do?
Chrome sleep on disk while not active! &RAM and swap go crazy!
How to force the system to donot use the swap memory in fedora 21?
Which memory configuration for a linux VM in gnome boxes?
My swap partition is between / and /home. Is that a problem?
How to improve the performance of gnome?
Increase swap space in fedora 19