LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2007, 03:13 AM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
Swap partition


Nowadays I am running open SUSE 10.2

I am a bit confused by the output of df command.
It does not show the swap partition.

linux-t6j2:~ # df -Th
Filesystem Type Size Used Avail Use% Mounted on

/dev/hda7 ext3 8.9G 3.4G 5.1G 40% /

udev tmpfs 502M 92K 502M 1% /dev

/dev/hda3 ext3 21G 194M 20G 1% /home

/dev/hda5 ext3 84G 229M 80G 1% /mnt/hda5

linux-t6j2:~ #

Does the above mean that the swap partition is dead or rather inactive?

My swap partition is hda6 and it has 3.0 GB.
On open SUSE 10.2, you will find an icon named 'partitioner'. If I look deep into that icon, it shows the swap partition.

-----------------------------------------------
(1) Yast control Center

(2) Partitioner

It says 'hda6 ' has 3.0 GB.
Type is Linux swap
Mount is swap
Mount by K
Start 6520 and
End is 6912
 
Old 08-03-2007, 03:27 AM   #2
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,477
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
try
Code:
free
and if You got it installed:
Code:
top
carefully read te outputs, and You might firure out if You have swap to your disposal or not.
 
Old 08-03-2007, 03:35 AM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks for the reply.

linux-t6j2:~ # free
total used free shared buffers cached

Mem: 1027832 680180 347652 0 26752 414740

-/+ buffers/cache: 238688 789144
Swap: 3156700 0 3156700
linux-t6j2:~ #

The command top showed the existence of swap partition. It is scrolling all the time and I am unable to copy and past here.

Do you think I have an active swap partition?

Last edited by Gins; 08-03-2007 at 03:41 AM.
 
Old 08-03-2007, 03:52 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
The swap partition is neither dead nor inactive.
df doesn't show it, because it makes no sense for df.
it is used by the kernel as a fridge for brain cells. df doesn't eat brain cells but the kernel does.
 
Old 08-03-2007, 03:59 AM   #5
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Agrouf for the comments.

There should be a working swap partition on my system. I have 1GB of RAM. Sometimes I open about 10 web pages and the word processor. I don't think 1GB RAM is enough to bear the burden.

I don't want you to come with the suggestion buying more RAM memory. This computer is slightly old and RAM is bit expensive.

The bottom line is whether my swap partition is working. Please tell me.
 
Old 08-03-2007, 04:22 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,141

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
You aren't even close to needing more memory. Swap hasn't even been touched, but *yes*, it is working.
You are only using 238688k (i.e. 233 Meg) of your memory for "real work" - don't worry, be happy.
 
Old 08-03-2007, 04:29 AM   #7
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,477
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Thumbs up RAMble RAMble

Quote:
Originally Posted by Gins
Thanks Agrouf for the comments.

There should be a working swap partition on my system. I have 1GB of RAM. Sometimes I open about 10 web pages and the word processor. I don't think 1GB RAM is enough to bear the burden.

I don't want you to come with the suggestion buying more RAM memory. This computer is slightly old and RAM is bit expensive.

The bottom line is whether my swap partition is working. Please tell me.
buddy, I open 3 to four webpages in firefox with xmms running and KDE with 1/16 GBram (64MB) with casual swapping to 64MB swap
and on another PC I open a dozen of webpages in konqueror with OpenOfficeWriter on KDE with 192MB of RAM without touching swap
It's Linux for crying out loud it's ram-efficient.

Did You ever used gkrellm? try it buddy
 
Old 08-03-2007, 04:36 AM   #8
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks everybody for the replies
I haven't heard about gkrellm.
I just checked it on Google. It seems they haven't got a program for open SUSE 10.2.

They have a program for SUSE 9.1
 
Old 08-03-2007, 04:36 AM   #9
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks everybody for the replies
I haven't heard about gkrellm.
I just checked it on Google. It seems they haven't got a program for open SUSE 10.2.

They have a program for SUSE 9.1
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap partition Proud Linux - Hardware 5 03-23-2005 07:17 PM
swap partition joeljose Linux - Software 2 04-13-2004 10:14 AM
swap in own partition? mikeshn Linux - General 6 02-10-2004 02:18 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM
Should I be using a SWAP partition? Gene126 Linux - General 3 08-14-2002 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08: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
Open Source Consulting | Domain Registration