From 846c6640b917b058b544018a210de968fb9e7f8c Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Sun, 31 Mar 2019 20:57:33 +0900 Subject: [PATCH] fix --- nohang.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nohang.conf b/nohang.conf index 44f9de9..de2f36f 100644 --- a/nohang.conf +++ b/nohang.conf @@ -217,11 +217,11 @@ re_match_uid = False 5.4 Matching CGroup-line with RE patterns -re_match_cgroup = True +re_match_cgroup = False @CGROUP_RE -50 /// system.slice - @CGROUP_RE 50 /// foo.service + @CGROUP_RE -50 /// foo.service @CGROUP_RE -50 /// user.slice @@ -300,7 +300,7 @@ gui_low_memory_warnings = True Execute the command instead of sending GUI notifications if the value is not empty line. For example: warning_exe = cat /proc/meminfo & - warning_exe = cat /proc/pressure/memory && cat /proc/sys/fs/unified/system.slice/memory.pressure && cat /proc/sys/fs/unified/user.slice/memory.pressure + warning_exe = cat /proc/pressure/memory & cat /sys/fs/cgroup/unified/system.slice/memory.pressure & cat /sys/fs/cgroup/unified/user.slice/memory.pressure & warning_exe =