LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 04-23-2008, 12:57 AM   #1
cghcgh
Member
 
Registered: Mar 2008
Posts: 69

Rep: Reputation: 15
free command


Hi, i have run the free command. Does this show that the system is low in memory ?


total used free shared buffers cached
Mem: 2073236 2051800 21436 0 133644 551716
-/+ buffers/cache: 1366440 706796
Swap: 2096472 69820 2026652


Thanks
 
Old 04-23-2008, 01:04 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What do you think?
 
Old 04-23-2008, 11:36 PM   #3
cghcgh
Member
 
Registered: Mar 2008
Posts: 69

Original Poster
Rep: Reputation: 15
yes i think so. that means the physical memory has about 20k left . But i do have quite a bit of swap left. Does that help in any way?
 
Old 04-24-2008, 08:27 AM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Yes it shows that is low in memory.You have about 20 MB left of physical memory and lot of swap.
You have about 2 GB of p.memory,so what are you doing with that pc of yours,that even that is not enough?
 
Old 04-25-2008, 02:10 PM   #5
jonesr
Member
 
Registered: Feb 2008
Location: Sacramento
Distribution: RHEL AS, mostly
Posts: 44

Rep: Reputation: 18
That report shows that you have just 20 MB totally free, but your system is using 538 MB for buffers and another 130 MB for cached objects, and you have not dipped into your swap space to any real extent. No, you're not really low on memory.

Linux will always fill most of available RAM with buffers (it's there and not being used for other stuff, so why not?) and will free up that space if it's needed. I have an RHEL system with 64 GB RAM, and after moving a 300 GB database from one file system to another, Linux had allocated over 58 GB to buffers and the system showed me that only about 200 MB was "free".

In general, cache and buffers help performance. Don't go looking for 600 MB of application code to use that space. You probably have anywhere from 0 MB to 400 MB of memory that's available without impacting performance-- it's entirely dependent on the behavior of your applications.
 
Old 05-28-2008, 04:37 AM   #6
cghcgh
Member
 
Registered: Mar 2008
Posts: 69

Original Poster
Rep: Reputation: 15
thanks guys.. i got what you mean.
 
Old 05-29-2008, 02:33 AM   #7
slacksite
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Rep: Reputation: 0
The number you really want to pay attention to is the one under the free column on the -/+ buffers/cache line. In your case, you have quite a bit of available memory, for as a previous poster said, the kernel will pull from buffers and cache as needed. But until needed, it better serves its purpose in buffers and cache.
 
Old 06-03-2008, 03:16 PM   #8
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
it means u r using 1366440 memory and 706796 memory is free,
its the main memory i am telling,who is telling u r low in memory,u have still 700 mb free.......
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Free command conflict cghcgh Linux - Newbie 2 04-16-2008 11:48 PM
Need Command to see free spaces shipon_97 Linux - Newbie 4 11-24-2006 08:50 AM
system buffer in free command LinuxLover Linux - General 2 06-30-2006 01:04 AM
What does the output of the 'free' command mean? kau2 Linux - Newbie 3 05-21-2004 06:58 PM
Shell command to see free space linksocc Linux - Newbie 4 09-26-2003 11:57 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:05 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