From 2458edb2b34afc3037b438675c0de9047cbee878 Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Wed, 30 Jan 2019 08:33:00 +0900 Subject: [PATCH] fix readme --- README.md | 5 ----- nohang | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8b1e9ad..067d47e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/nohang b/nohang index dc6ee37..2044421 100755 --- a/nohang +++ b/nohang @@ -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()