You can check below steps to check the available swap space on your server, for that you can check below articles:
You have to use below command to check the swap space :
For more information you can check the /etc/meminfo file with grep command for all the information:
You have to use below command to check the swap space :
Code:
-bash-4.2# free -m
Code:
Total Used Free Shared Buff/Cache Available
Mem: 1998 480 409 104 1108 1229
Swap: 1023 37 986
Code:
-bash-4.2# cat /proc/meminfo | grep Swap
SwapCached: 9592 kB
SwapTotal: 1048572 kB
SwapFree: 1001212 kB