Weird 'free' output

Weird 'free' output

linux.il linux.il at gmail.com
Tue May 4 14:47:46 IDT 2021


Omer, thank you!
Is it related to the "Inactive" count from /proc/meminfo?
I used to think that available=free+cache+buffers...

On Tue, May 4, 2021 at 1:19 PM Omer Zak <w1 at zak.co.il> wrote:

> From man free:
>
> available
>               Estimation of how much memory is available for starting
> new applications, without swapping. Unlike the data provided  by
>               the  cache  or free fields, this field takes into account
> page cache and also that not all reclaimable memory slabs will
>               be reclaimed due to items being in use (MemAvailable in
> /proc/meminfo, available on kernels 3.14,  emulated  on  kernels
>               2.6.27+, otherwise the same as free)
>
>
>
> On Tue, 2021-05-04 at 13:07 +0300, linux.il wrote:
> > "Available" output seems weird, or I'm missing something?
> > Any ideas?
> >
> > TIA, Vitaly
> >
> > free -m
> >               total        used        free      shared  buff/cache
> > available
> > Mem:          31654       29883         937           1         832
> >     27675
> > Swap:             0           0           0
>
>
> --
> "Prior to capitalism, the way people amassed great wealth was by
> looting, plundering and enslaving their fellow man. Capitalism made it
> possible to become wealthy by serving your fellow man." - Walter E.
> Williams
> My own blog is at https://tddpirate.zak.co.il/
>
> My opinions, as expressed in this E-mail message, are mine alone.
> They do not represent the official policy of any organization with
> which I may be affiliated in any way.
> WARNING TO SPAMMERS:  at https://www.zak.co.il/spamwarning.html
>
>
>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20210504/98e861f3/attachment.html>


More information about the Linux-il mailing list