swap space does not show in df command
Hi All,
I have one question.Can any one tell me why out put of df command does not show me swap space on my system.
output of df command
--------------------
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 5952252 1445120 4199892 26% /
/dev/sda1 101086 11638 84229 13% /boot
none 2023508 0 2023508 0% /dev/shm
/dev/sda6 220100296 414432 208505428 1% /nems
/dev/sda2 7936288 202920 7323712 3% /var
output of /etc/fstab
----------------------
/dev/sda5 / ext3 defaults 1 1
/dev/sda1 /boot ext3 defaults,nodev 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda6 /nems ext3 defaults,nodev 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/sda2 /var ext3 defaults,nodev 1 2
/dev/sda3 swap swap defaults 0 0
output of free -m
-----------------
total used free shared buffers cached
Mem: 3952 1085 2866 0 305 184
-/+ buffers/cache: 595 3356
Swap: 6000 0 6000
output of /proc/swaps
-----------------------
Filename Type Size Used Priority
/dev/sda3 partition 6144852 0 -1
Please let me know whether swap is enabled or not ,if it is enabled why it is not showing in df command.
Thanks,
surya
Last edited by surya_prakash; 06-17-2009 at 10:43 PM.
|