Which Process Is Taking More Swap Linux?

Which Process Is Taking More Swap Linux?
Contents

Which process is using more swap in Linux?

Linux Find Out What Process Are Using Swap Space

  1. /proc/meminfo – This file reports statistics about memory usage on the system. …
  2. /proc/${PID}/smaps , /proc/${PID}/status , and /proc/${PID}/stat : Use these files to find information about memory, pages and swap used by each process using its PID.

How can I tell which process is using swap?

On the /proc/’processPID’/status you can find that information on the field VmSwap . With this command you can list all process that are using swap.

Sophia Al-Mansoor
Author

Sophia Al-Mansoor

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.