go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  How to force the buffers/cached memory to release?
 
Subject: How to force the buffers/cached memory to release?
Author: Linux
In response to: How many memory my applications have used?
Posted on: 09/12/2012 07:57:26 PM

# echo 3 > /proc/sys/vm/drop_caches


Run free again:
# free -m
             total       used       free     shared    buffers     cached
Mem:           595         52        542          0          0          8
-/+ buffers/cache:         43        551
Swap:            0          0          0


 

> On 09/12/2012 07:56:52 PM Linux wrote:

That is F=59 (MB).
# free -m | grep 'buffers/cache' | tr -s ' ' | cut -d ' ' -f 3





References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.