Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I figure out which programs are using up swap space? My current memory usage is 2.9GiB out of 3.0GiB used(and I though I had 4GB, I need to check into that) and 1.3Gib of swap used.

share|improve this question
up vote 3 down vote accepted

In top type fp to add swap space display and then Fp to sort according to swap usage

share|improve this answer
Thanks. The numbers are not very correct(but I think I remember getting the correct number is not possible?) It said amarok was using over 700MB of swap, but when I closed it the amount of swap used barely dropped at all. – Echo Jun 10 '10 at 16:02
The value includes memory that is shared between different processes. You can use memstat -p PID to see the shared libs used by the process with the given PID along with their memory usage (total, not onyl swapped out). – Florian Diesch Jun 10 '10 at 17:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .