0

Possible Duplicate:
Meaning of the buffers/cache line in the output of free

I did free -tm on my system, and I got the output below.

Is the free buffers/cache part of the used memory? And therefore we can consider it as free memory?

             total       used       free     shared    buffers     cached
Mem:          5721       5689         32          0        137       4664
-/+ buffers/cache:        887       4834
Swap:         6000         13       5987
Total:       11722       5703       6019

Thanks

Lydon Ch
  • 267
  • 1
  • 2
  • 12

2 Answers2

1

take a look at this post here on serverfault. it will explain the free output to you.

Christian
  • 4,645
  • 2
  • 23
  • 27
0

Whether you consider it "free memory" depends on what you really mean by "free memory". If you mean memory that was totally wasted because the system couldn't figure out any way to use it, then you should not consider it free memory. If you mean memory that's available for use should the system need memory for something, then you should consider it free memory.

Personally, I think the concept of "free memory" should simply be banished. The way modern operating systems manage physical memory just doesn't create a category that can sensibly be described as "free".

In particular, the following mindset is completely wrong: "If there's free physical memory, then I don't need more RAM. But if almost all of the physical memory is in use, then my system could benefit from more RAM."

David Schwartz
  • 31,215
  • 2
  • 53
  • 82