Tag Info

New answers tagged


You can use the command: pmap -S <pid> to see all the memory statistics, including swap usage. With little shell magic you can wrap it in a bash loop: cd /proc for i in *; do SWAP=`pmap -S $i | grep ^total | awk '{ print $3; }'` [ "xx$SWAP" != "xx" ] && echo "$SWAP bytes $i" done | sort -n Output is in bytes, in a format: ...

Top 50 recent answers are included