update readme
This commit is contained in:
parent
8f6ddc6981
commit
2a115b9f11
37
README.md
37
README.md
@ -29,15 +29,40 @@ Use of [earlyoom](https://github.com/rfjakob/earlyoom) or nohang, but nohang is
|
||||
- prevention of killing innocent victim via `oom_score_min`, `min_delay_after_sigterm` and `min_delay_after_sigkill` parameters
|
||||
- customizable intensity of monitoring
|
||||
|
||||
### An exaple of stdout
|
||||
### An exaple of output
|
||||
|
||||
```
|
||||
2018-06-30 Sat 19:42:56
|
||||
MemAvailable (0 MiB, 0.0 %) < mem_min_sigterm (470 MiB, 8.0 %)
|
||||
SwapFree (457 MiB, 7.8 %) < swap_min_sigterm (470 MiB, 8.0 %)
|
||||
MemAvail: 2975 M, 50.6 % | SwapFree: 10758 M, 100.0 %
|
||||
MemAvail: 2976 M, 50.6 % | SwapFree: 10758 M, 100.0 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 10281 M, 95.6 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 9918 M, 92.2 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 8659 M, 80.5 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 7235 M, 67.3 %
|
||||
MemAvail: 19 M, 0.3 % | SwapFree: 6851 M, 63.7 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 5780 M, 53.7 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 5008 M, 46.6 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 4199 M, 39.0 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 3502 M, 32.6 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 2929 M, 27.2 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 2446 M, 22.7 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 2093 M, 19.5 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 1573 M, 14.6 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 1320 M, 12.3 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 1117 M, 10.4 %
|
||||
MemAvail: 0 M, 0.0 % | SwapFree: 943 M, 8.8 %
|
||||
|
||||
2018-07-06 Fri 03:04:37
|
||||
MemAvailable (0 MiB, 0.0 %) < mem_min_sigterm (588 MiB, 10.0 %)
|
||||
SwapFree (943 MiB, 8.8 %) < swap_min_sigterm (1076 MiB, 10.0 %)
|
||||
Preventing OOM: trying to send the SIGTERM signal to tail,
|
||||
Pid: 14884, Badness: 866, VmRSS: 5181 MiB, VmSwap: 4983 MiB
|
||||
Pid: 14636, Badness: 777, VmRSS: 4446 MiB, VmSwap: 8510 MiB
|
||||
Success
|
||||
MemAvail: 173 M, 2.9 % | SwapFree: 3363 M, 31.3 %
|
||||
MemAvail: 4700 M, 80.0 % | SwapFree: 8986 M, 83.5 %
|
||||
MemAvail: 4668 M, 79.4 % | SwapFree: 8997 M, 83.6 %
|
||||
MemAvail: 4610 M, 78.5 % | SwapFree: 9024 M, 83.9 %
|
||||
MemAvail: 4533 M, 77.2 % | SwapFree: 9037 M, 84.0 %
|
||||
|
||||
```
|
||||
|
||||
### Requirements
|
||||
@ -48,7 +73,7 @@ Use of [earlyoom](https://github.com/rfjakob/earlyoom) or nohang, but nohang is
|
||||
### Memory and CPU usage
|
||||
|
||||
- VmRSS is about 12 MiB
|
||||
- CPU usage depends on the level of available memory
|
||||
- CPU usage depends on the level of available memory (the frequency of memory status checks increases as the amount of available memory decreases)
|
||||
|
||||
### Download
|
||||
```bash
|
||||
|
Loading…
Reference in New Issue
Block a user