fix readme
This commit is contained in:
parent
8f711b890b
commit
2458edb2b3
@ -153,10 +153,6 @@ oom_score oom_score_adj Uid Pid Name VmRSS VmSwap cmdline
|
|||||||
|
|
||||||
Kthreads, zombies and Pid 1 will not be displayed.
|
Kthreads, zombies and Pid 1 will not be displayed.
|
||||||
|
|
||||||
## oom-trigger
|
|
||||||
|
|
||||||
Interactive OOM trigger (not implemented)
|
|
||||||
|
|
||||||
## Logging
|
## Logging
|
||||||
|
|
||||||
To view the latest entries in the log (for systemd users):
|
To view the latest entries in the log (for systemd users):
|
||||||
@ -176,7 +172,6 @@ See also `man journalctl`.
|
|||||||
|
|
||||||
- Rewrite all code in Golang with tests and good documentation.
|
- Rewrite all code in Golang with tests and good documentation.
|
||||||
|
|
||||||
|
|
||||||
## Nohang don't help you
|
## Nohang don't help you
|
||||||
|
|
||||||
if you run
|
if you run
|
||||||
|
2
nohang
2
nohang
@ -1557,7 +1557,9 @@ while True:
|
|||||||
warn_time_now = time()
|
warn_time_now = time()
|
||||||
warn_timer += warn_time_delta
|
warn_timer += warn_time_delta
|
||||||
if warn_timer > min_time_between_warnings:
|
if warn_timer > min_time_between_warnings:
|
||||||
|
t0 = time()
|
||||||
send_notify_warn()
|
send_notify_warn()
|
||||||
|
print(time() - t0, 'send notify warning time')
|
||||||
warn_timer = 0
|
warn_timer = 0
|
||||||
|
|
||||||
sleep_after_check_mem()
|
sleep_after_check_mem()
|
||||||
|
Loading…
Reference in New Issue
Block a user