On Thu, 4 Mar 1999, sweeloong mok wrote:
> I'm using redhat 5.0, I try to figure out whether my swap partition is
> working fine...I try the swapon -s and swapon -a, it said /proc/swap is
> not a valid directory or file or some sort, pardon me :p cant remember
> the exact err msg, and during installation, I can remember I DID NOT
> specified any mount point for the swap partition, is this correct? And
> under my /etc/fstab there is nothing mounted for swap, how do I find out
> my swap is ok?
Your swap is not Ok. This is obvious even. free says something
like total 0. Does this look like the swap is working?
Put in /etc/fstab a line like that:
/dev/<name_of_the_swap_partition> swap swap defaults 0 0
But remeber one important detail: don't use spaces. Go for tabs.
To keep those tabs untranslated to spaces use vi or something like that.
> how to check the swap patition status other then using free?
top... cat /proc/meminfo... want more?
Raider
--
``Liberate tu-temet ex inferis''