Thursday, July 15, 2010

How to know about the swap space usage ?

zodiac@gml-admin:~$ cat /proc/swaps
Filename Type Size Used Priority
/dev/sda6 partition 1464312 0 -1
zodiac@gml-admin:~$ swapon -s
Filename Type Size Used Priority
/dev/sda6 partition 1464312 0 -1
zodiac@gml-admin:~$ free -m
total used free shared buffers cached
Mem: 2013 1270 742 0 100 798
-/+ buffers/cache: 370 1642
Swap: 1429 0 1429
zodiac@gml-admin:~$

No comments:

Post a Comment