Hi,
On Mon, 30 Dec 2002, The Linuxer wrote: [snip]
for the /swap directory. As intended, it should share memory with the Linux
First thing, <swap> partitions are not mounted, so you should not see any /swap if you run 'df -h'.
Swap space. The problem is that, when I issue the top command, it shows that used swap space is zero & my Physical Memory is 70% used. I think it's pretty high since I don't use any software which is heavy on system requirments. I tried the swapon command but in vain. Even eding the /etc/fstab file didn't help. Is there any way to force swapping of memory ??
You should not. Swap is not like actual memory, it is just bare unformatted partition on you harddisk, which is used by the kernel swapper to place 'pages' of memory that are not immediately required for execution. Since this involves disk i/o it is very slow compared to RAM. The Linux kernel will begin swapping when it finds that it is running out of RAM space, idle processes are also swapped. All this depends on the priority of the process as well. For more discussion, see here:
http://people.debian.org/~psg/ddg/node81.html
Please enlighten .... Thanx in advance ... Bhaskar Ghose [The Linuxer]
[snip]
Best regards,
Rajesh