fix readme

This commit is contained in:
Alexey Avramov 2019-01-30 08:33:00 +09:00
parent 8f711b890b
commit 2458edb2b3
2 changed files with 2 additions and 5 deletions

View File

@ -153,10 +153,6 @@ oom_score oom_score_adj Uid Pid Name VmRSS VmSwap cmdline
Kthreads, zombies and Pid 1 will not be displayed.
## oom-trigger
Interactive OOM trigger (not implemented)
## Logging
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.
## Nohang don't help you
if you run

2
nohang
View File

@ -1557,7 +1557,9 @@ while True:
warn_time_now = time()
warn_timer += warn_time_delta
if warn_timer > min_time_between_warnings:
t0 = time()
send_notify_warn()
print(time() - t0, 'send notify warning time')
warn_timer = 0
sleep_after_check_mem()