Daniel William
New member
How do I view swap files in Linux?
Answer
HowTo: Check Swap Usage and Utilization in Linux
Answer
HowTo: Check Swap Usage and Utilization in Linux
- Option #1: /proc/swaps file. Type the following command to see total and used swap size:
- Option #2: swapon command. Type the following command to show swap usage summary by device.
- Option #3: free command. Use the free command as follows:
- Option #4: vmstat command.
- Option #5: top/atop/htop command.