Find out how much swap a process is using on Linux

The key files you are interested in for finding out which processes are using swap are:

/proc/${PID}/smaps
/proc/${PID}/status
/proc/${PID}/stat

To see swap space used by a particular process, first find it’s PID:

pidof systemd

or

pgrep systemd

then grep the status file:

grep --color VmSwap /proc/12345/status
Previous
Previous

Google Adsense Ads are not showing after activation

Next
Next

Oracle SOA 12c REST Service, Digicert Certificate - Unable to find certification path to requested target