The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to get the more memory free space (see memory free column) murthy76 SUN Solaris 3 04-21-2009 09:34 AM
How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 0ktalmagik SUN Solaris 4 02-03-2009 09:37 AM
Free Memory in aix manoj.solaris AIX 11 01-04-2009 03:29 PM
How do I find out how much swap and memory is free? expos UNIX for Dummies Questions & Answers 2 12-30-2003 10:58 AM
memory free up using 'find' shibz UNIX for Advanced & Expert Users 6 11-03-2002 04:01 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-19-2009
JamesByars JamesByars is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 124
how to find out free memory?

hi, I have done the below, but am confused as to how much memory is "free"

please help

thanks

Code:
$ free
             total       used       free     shared    buffers     cached
Mem:     132033488   48827536   83205952          0    1007696   45404632
-/+ buffers/cache:    2415208  129618280
Swap:    134217720          0  134217720
  #2 (permalink)  
Old 10-19-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,753
The numbers under the free column

first number: free memory
buffers : can be freed quickly
swap : virtual memory

Total free memory = free memory + unused swap. When memory gets short the OS will
release some cache memory as well.

Your system is in great shape memory-wise. I don't see a problem.
  #3 (permalink)  
Old 10-19-2009
JamesByars JamesByars is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 124
thanks for the reply.

ok, so I am using 48G and have 83G free. But what does the buffers and cache columns tell me?

Also, the row:

-/+ buffers/cache: 2415208 129618280

is confusing me

thanks
  #4 (permalink)  
Old 10-20-2009
quan0509 quan0509 is offline
Registered User
  
 

Join Date: Apr 2008
Location: Hà Nội - Việt Nam
Posts: 32
Using

free -m

with MB formatting
  #5 (permalink)  
Old 10-20-2009
JamesByars JamesByars is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 124
Quote:
Originally Posted by quan0509 View Post
Using

free -m

with MB formatting
sorry, im not sure how this answers my question

elaborate?
  #6 (permalink)  
Old 10-20-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,753
From the free man page:
Quote:
The -o switch disables the display of a "buffer adjusted" line. If the -o option is not specified, free subtracts buffer memory from the used memory and adds it to the free memory reported.
This answers your question - free thinks buffer memory is really free memory. Which is what I explained above.

Free means it is not absolutely required by an active process. The kernel uses 'extra' memory to facilitate operations - like I/O. Those are the buffers in question. It is kind of like luxury uptake of an unrequired resource, if that makes more sense to you.

What are you trying to figure out?
  #7 (permalink)  
Old 4 Weeks Ago
JamesByars JamesByars is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 124
Quote:
Originally Posted by jim mcnamara View Post
From the free man page:


This answers your question - free thinks buffer memory is really free memory. Which is what I explained above.

Free means it is not absolutely required by an active process. The kernel uses 'extra' memory to facilitate operations - like I/O. Those are the buffers in question. It is kind of like luxury uptake of an unrequired resource, if that makes more sense to you.

What are you trying to figure out?
thanks jim, i think i get it now, if not, i will post again
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:00 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0