How do I check swap space?

Việt Quân

New member
How do I check swap space?
Answer
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.
 

Tìm kiếm

Back
Top