LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 01-12-2004, 09:41 PM   #1
shiny_spoon
Member
 
Registered: Oct 2003
Location: Ontario, Canada
Distribution: Mandrake 9.1
Posts: 47

Rep: Reputation: 15
Question RAM and Swap


Hey everyone!

I'm still relatively new to the Linux world, but I'm getting more proficient by the day... My question is that when I look at gkrellm while running intensive apps, it indicates about 900MB of my 1GB of RAM as being free. SWAP on the other hand, is nearly completely used (or at least being used much more than RAM is).

Is there any reason for this? If so, is there a way to tell Linux to start using RAM when it can and forget about using up my SWAP partition?! ... Using Mandrake 9.1.

Thanks in advance!
 
Old 01-13-2004, 01:14 AM   #2
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
check with top, maybe (and im not sure) gkrellm is mis-reporting it.

in console type top and hit enter and it shows system resource usage. CTRL+c to exit
 
Old 01-13-2004, 01:21 AM   #3
Vyeperman
Member
 
Registered: Jul 2003
Location: California
Distribution: Gentoo 1.4
Posts: 108

Rep: Reputation: 15
'top' in terminal will give you some accurate readings.
 
Old 01-13-2004, 04:31 AM   #4
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
Quote:
Originally posted by Robert0380
check with top, maybe (and im not sure) gkrellm is mis-reporting it.

in console type top and hit enter and it shows system resource usage. CTRL+c to exit
You can usually exit top using "q" instead of ctrl-c
 
Old 01-13-2004, 12:46 PM   #5
shiny_spoon
Member
 
Registered: Oct 2003
Location: Ontario, Canada
Distribution: Mandrake 9.1
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Robert0380
maybe (and im not sure) gkrellm is mis-reporting it.
And right you are... gkrellm was reporting SWAP usage accurately but for free RAM it was quite the opposite. I'll use top from now on.

Thanks for your help guys.
 
Old 01-13-2004, 02:27 PM   #6
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
you can also use free for some quick stats
free -m
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use RAM as swap??? oneandoneis2 Linux - General 3 08-19-2004 04:48 AM
Not using RAM and Swap much ? ruwach Linux - Hardware 2 06-11-2004 07:26 AM
No SWAP but all RAM!! hari_seldon99 Linux - General 3 01-13-2004 10:48 AM
why swap should be twice of RAM? whitefox Slackware 17 04-19-2003 02:51 PM
Swap and RAM ? mikeshn Linux - General 1 09-18-2002 09:33 PM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration