9/15/2014

Does Linux really eat much mem as displayed?

When we check the mem usage by the "top" command, probably we will see a low free mem as shown in the figure below. But is that the real case that only a small amount mem is left for applications?








That info is a bit cheating. We may have a large amount of mem ready for other programs. The major problem is that Linux defines used and free mem in a different way from our intuition. 



We can use "free" to see how much mem is available for new applications. The number in the "free" column and in the line of "-/+ buffers/cache" is the real mem available. Much larger than it appears, right?




To learn more about the Linux mem, please refer to the following links.

Linux ate my ram!
http://www.linuxatemyram.com/
 
http://www.linuxatemyram.com/play.html

http://www.binarytides.com/linux-command-check-memory-usage/


No comments:

Post a Comment