LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Swap partition activated? (https://www.linuxquestions.org/questions/linux-newbie-8/swap-partition-activated-590200/)

astromech 10-08-2007 02:57 AM

Swap partition activated?
 
Hi, I installed Vector linux today and it's kinda sluggish compared to other distros I've tried .Seeing as it has a reputation for being fast I checked out Ksysguard and it said swap usage was 0 and almost all my memory (256K of ram) was being used.Here is the info from running free -mem:


total used free shared buffers cached
Mem: 244 233 10 0 15 88
-/+ buffers/cache: 129 115
Swap: 0 0 0




Could it be that my swap partition is not activated?

syg00 10-08-2007 03:14 AM

Yes . . .

astromech 10-08-2007 05:21 AM

Quote:

Originally Posted by syg00 (Post 2916946)
Yes . . .

O.K. but I need to know how to activate it.

colucix 10-08-2007 05:36 AM

You can look in /etc/fstab to see what partition (device) is set for swap. Then, you can try
Code:

swapon /dev/xxxx
where xxxx matches the above device. Anyway, this should be accomplished from the init scripts at boot!
The command
Code:

swapon -s
verifies that the swap space was properly added.

astromech 10-09-2007 05:35 AM

Quote:

Originally Posted by colucix (Post 2917019)
You can look in /etc/fstab to see what partition (device) is set for swap. Then, you can try
Code:

swapon /dev/xxxx
where xxxx matches the above device. Anyway, this should be accomplished from the init scripts at boot!
The command
Code:

swapon -s
verifies that the swap space was properly added.

Thanks to everyone who answered .My I used the gparted cd and my swap space was formatted to reiserfs so I formatted to swap changed a line in fstb and now it's activated! :)


All times are GMT -5. The time now is 07:55 PM.