Your Question: Which Process Is Consuming Swap in Linux?

Your Question: Which Process Is Consuming Swap in Linux?
Contents

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.

Which process is consuming swap Linux?

The procedure to check swap space usage and size in Linux is as follows:

  1. Open a terminal application.
  2. To see swap size in Linux, type the command: swapon -s .
  3. You can also refer to the /proc/swaps file to see swap areas in use on Linux.
  4. Type free -m to see both your ram and your swap space usage in Linux.
Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.