How to find free memory available for use by applications?
Shashank Rachamalla
shashank.r38 at wipro.com
Mon Aug 17 12:30:25 UTC 2009
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/RHEL-4-Manual/en-US/Reference_Guide/s2-proc-meminfo.html)
Total Free Memory Available for Applications = (free + Inactive) should
hold good in this case.
Thanks,
Shashank.
On Mon, 2009-08-17 at 07:50 -0400, Andrew Parker wrote:
> On Mon, Aug 17, 2009 at 2:25 AM, Shashank
> Rachamalla<shashank.r38 at wipro.com> 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 leave it out.
>
More information about the fedora-list
mailing list