A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
Swap space is never used, are my settings correct
I'm on GNU/Linux and top command always show that swap space is always 0k used!
How to make sure that its used. I changed its priority from -1 to 1. Its still not used.
Please help me out.
Following are the various stats:
top - 04:30:55 up 1 day, 1:35, 2 users, load average: 1.04, 0.47, 0.46
Tasks: 106 total, 2 running, 104 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.0% us, 3.4% sy, 1.3% ni, 85.2% id, 6.4% wa, 0.0% hi, 2.7% si
Mem: 3089396k total, 1954548k used, 1134848k free, 157268k buffers
Swap: 2031608k total, 0k used, 2031608k free, 1290560k cached
Filename Type Size Used Priority
/dev/mapper/VolGroup00-LogVol01 partition 2031608 0 1
# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0