Who swaps ? :) Submitted by kacy on Fri, 27/04/2018 - 12:30 A small fonction useful to add to your .bashrc whoswaps () { for file in /proc/*/status; do echo $file $(awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file); done | sort -k 3 -n -r | less } bashswaplinuxproc kacy's blogAdd new commentFrançais