Re: How to find free memory available for use by applications?

2009-08-17 Thread Shashank Rachamalla
It is possible to get the total amount of buffer or page cache memory, in kilobytes, that are free and available from /proc/meminfo ( attribute "Inactive" ). This is memory that has not been recently used and can be reclaimed for other purposes. ( see http://www.redhat.com/docs/manuals/enterprise/R

Re: How to find free memory available for use by applications?

2009-08-17 Thread Andrew Parker
On Mon, Aug 17, 2009 at 2:25 AM, Shashank Rachamalla wrote: > Is the below calculation valid? > > Total Free Memory Available for Applications = free + buffers + cached Cache is available to applications, yes, but I don't think that you can included all of the buffer space. I'd be inclined to leav

How to find free memory available for use by applications?

2009-08-16 Thread Shashank Rachamalla
Hi I want to write a script to find free memory available for use by applications. The following is the output of 'free' command in one of our lab machines. total used free sharedbuffers cached Mem:3804370698 0107 3