Comments anybody ?
Why it's so hard to get amount of free
memory available for application in Linux ?


Begin forwarded message:

From: Guy Baruch <[EMAIL PROTECTED]>
Subject: Re: How much free RAM do I have ?

Total -(Free+cached)
regarding the buffers I'm not sure what the policies of the OS are.

Michael Sternberg wrote:
>
>
> Sorry, this is not what I've asked.
> cat /proc/meminfo and free give me following numbers:
>
>         total:    used:    free:  shared: buffers:  cached:
> Mem:  64196608 62038016  2158592        0   843776 33320960
>
> It looks that I finished all my RAM - only 2 Mb left :)
> And I know that there is plenty of free memory left.
>
> Should I calculate it as `total - cached - buffers` ?
>
> --  -----Original Message-----
> --  From: Guy Baruch [mailto:[EMAIL PROTECTED]]
> --  Subject: Re: How much free RAM do I have ?
> -- 
> --  man 1 free
> --  or, in an application
> --  cat /proc/meminfo
> -- 
> --  Michael Sternberg wrote:
> -- 
> --  >Is it possible to know how much (unswapped) RAM for
> --  >application do I have ?

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to