From b48e78121372e3082ab89d4c5236f1515bbc432b Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Sun, 23 Jun 2019 01:28:17 +0900 Subject: [PATCH] fix conf --- nohang.conf | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/nohang.conf b/nohang.conf index ede1df3..c9fccac 100644 --- a/nohang.conf +++ b/nohang.conf @@ -183,8 +183,7 @@ oom_score_adj_max = 0 Use script `oom-sort` from nohang package to view names, cmdlines and UIDs of processes. - - 5.1 Matching process names with RE patterns + 5.1. Matching process names with RE patterns Syntax: @@ -198,8 +197,7 @@ oom_score_adj_max = 0 Example: @BADNESS_ADJ_RE_NAME -500 /// ^sshd$ - - 5.2 Matching CGroup-line (v1 and v2) with RE patterns + 5.2. Matching CGroup_v1-line with RE patterns @BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/system.slice @@ -207,20 +205,19 @@ oom_score_adj_max = 0 @BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/user.slice + 5.3. Matching CGroup_v2-line with RE patterns + @BADNESS_ADJ_RE_CGROUP_V2 100 /// ^/workload - - 5.3 Matching eUIDs with RE patterns + 5.4. Matching eUIDs with RE patterns @BADNESS_ADJ_RE_UID -100 /// ^0$ - - 5.4 Matching realpath with RE patterns + 5.5. Matching realpath with RE patterns @BADNESS_ADJ_RE_REALPATH 20 /// ^/usr/bin/foo - - 5.5 Matching cmdlines with RE patterns + 5.6. Matching cmdlines with RE patterns A good option that allows fine adjustment. @@ -232,8 +229,7 @@ oom_score_adj_max = 0 @BADNESS_ADJ_RE_CMDLINE -200 /// ^/usr/lib/virtualbox - - 5.6 Matching environ with RE patterns + 5.7. Matching environ with RE patterns @BADNESS_ADJ_RE_ENVIRON 100 /// USER=user