Find out which processes is using your swap

2015-05-27

To find out which process is using your swap memory, use smem

$ sudo apt-get install smem

# To get a full list of PID and the amount of memory and swap they use

$ smem -s swap

# To get a summary of memory usage by user

$ smem -u

References:

I’m currently working on fyra.sh, a CLI-first static site deployment tool where you push your site and it’s served globally through a built-in CDN, without the overhead of heavy platforms.