LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2007, 03:57 AM   #1
astromech
LQ Newbie
 
Registered: Feb 2007
Posts: 12

Rep: Reputation: 0
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?
 
Old 10-08-2007, 04:14 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,036

Rep: Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912
Yes . . .
 
Old 10-08-2007, 06:21 AM   #3
astromech
LQ Newbie
 
Registered: Feb 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Yes . . .
O.K. but I need to know how to activate it.
 
Old 10-08-2007, 06:36 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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.
 
Old 10-09-2007, 06:35 AM   #5
astromech
LQ Newbie
 
Registered: Feb 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colucix View Post
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap partition not activated... BobL Arch 5 03-17-2005 07:08 PM
No swap activated on kernel 2.6 gt73 Slackware 4 08-30-2004 07:51 AM
need for swap partition? samik_ban Linux - Newbie 7 07-31-2003 01:26 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM
Swap partition Thomas_Delrue Linux - Newbie 3 07-12-2001 09:35 PM


All times are GMT -5. The time now is 03:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration