From 79d4d01e194685c578931a40dc84d540aa41d909 Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Thu, 28 Feb 2019 03:09:30 +0900 Subject: [PATCH] fix output --- nohang | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nohang b/nohang index 431fab6..656076a 100755 --- a/nohang +++ b/nohang @@ -1890,6 +1890,8 @@ while True: kib_to_mib(swap_min_sigkill_kb), swap_sigkill_pc) + print(mem_info) + implement_corrective_action(SIGKILL) psi_t0 = time() continue @@ -1907,6 +1909,8 @@ while True: kib_to_mib(zram_max_sigkill_kb), percent(zram_max_sigkill_kb / mem_total)) + print(mem_info) + implement_corrective_action(SIGKILL) psi_t0 = time() continue @@ -1952,6 +1956,8 @@ while True: kib_to_mib(zram_max_sigterm_kb), percent(zram_max_sigterm_kb / mem_total)) + print(mem_info) + implement_corrective_action(SIGTERM) psi_t0 = time()