Quick Answer: Which Process Is Using Swap Space Linux?

Quick Answer: Which Process Is Using Swap Space Linux?
Contents

Which process is using swap Linux?

Check swap usage size and utilization in Linux

  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.

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.

Elena Rostova
Author

Elena Rostova

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.