Re: OOM-killer not being involked under memory pressure
On Fri, 2020-09-25 at 07:41 -0600, Charles Curley wrote:
> On Thu, 24 Sep 2020 23:37:52 +0000
> Pariksheet Nanda <pariksheet.nanda@protonmail.com> wrote:
>
> > I don't know how to empirically test that swap works
>
> Try free. E.g.:
>
> root@jhegaala:~# free
> total used free shared buff/cache available
> Mem: 7860 5095 780 597 1985 1958
> Swap: 15623 2426 13197
> Total: 23484 7521 13977
> root@jhegaala:~#
>
> If swap is not enabled, the Swap line won't be there.
Or show zero for the total size, that's what it does for me. (I'm not
the OP, just commenting).
--
Tixy
Reply to: