The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
CPU usage and memory usage mansoorulhaq High Level Programming 1 08-09-2007 01:55 PM
Request:- Could some do a poll of Linux version usage? Mark Ward Linux 0 05-25-2006 02:22 AM
Linux memory usage junkmail426 Linux 6 02-27-2006 06:05 AM
Monitor CPU usage and Memory Usage Gajanad Bihani High Level Programming 2 03-09-2005 04:35 AM
Linux diskspace usage necro UNIX for Dummies Questions & Answers 1 04-05-2002 11:54 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-10-2007
Registered User
 

Join Date: Jan 2006
Posts: 125
Linux Mem Usage

What is amount of free RAM i have now?

Code:
              total       used       free     shared    buffers     cached
Mem:          1010        963         46          0        215        256
-/+ buffers/cache:        491        518
Swap:         1983          0       1983
Above is the output of 'free -m' from my linux machine. I did some searching on the internet and some of the articles point that linux is memory hungry ( not that it use up memory very fast, but it will use what is available). In my case, what is the free RAM i have? 46M or 518M. I highly do not think that its 46M + 518M.

The used and free Mem adds up to 1010 ( 963 + 46)

I am quite buffled by the -/+ buffers/cache value, the used and free values also adds up to 1010.

so linux is telling me it has used up 963MB of ram and 46MB is still available but on the other hand, it has 491 used in the buffer and 518 in the buffer is free... *confused and curious*

My total physical ram is 1GB. Would appreciate if anyone can explain and 'de-mysterifiy' me.
Reply With Quote
Forum Sponsor
  #2  
Old 10-10-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by new2ss View Post
so linux is telling me it has used up 963MB of ram and 46MB is still available
But on the other had you have nearly 2Gig of swap it hasn't even touched.

Here would be an interesting test, start running more programs and see if it starts to use the swap file or whether it merely reduces the number of buffers available.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0