[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OOM-killer not being involked under memory pressure



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 try htop.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: