• Sun. Jul 12th, 2020

ABTME

My own website

Find whats using swap

Byandrewt-admin

Jul 7, 2020

If you need to find which process is using swap, as root on your command line run.

for file in /proc/*/status ; do awk ‘/VmSwap|Name/{printf $2 ” ” $3}END{ print “”}’ $file; done | sort -k 2 -n -r | less

Related Post