earlyoom icon indicating copy to clipboard operation
earlyoom copied to clipboard

UserMemTotal is not documented, `-M` argument seems to still be used as percentage of *all* total which is confusing

Open mars4science opened this issue 1 year ago • 1 comments

I've tried to use the app from master branch. Got confused from output of systemctl status earlyoom.service showing avail as % of user mem total, found commit https://github.com/rfjakob/earlyoom/commit/459d76296d3d0a0b59ee1e2e48ad2271429de916. I get the reason, however, IMO in such case -M argument is better be used as part of user memory only.

Also if UserMemTotal is to stay, please somebody document the change in README and man page, explaining AnonPages with no less clarity than now available of free is explained. Thanks.

Edit: created pull request https://github.com/rfjakob/earlyoom/pull/304 to try to cover MANPAGE and code change.

mars4science avatar Jan 20 '24 09:01 mars4science

Agree, docs need to improve.

The problem with https://github.com/rfjakob/earlyoom/pull/304 is that what earlyoom does depends on how full /tmp was when it was started. This is ugly.

rfjakob avatar Jan 25 '24 18:01 rfjakob