update conf

This commit is contained in:
Alexey Avramov 2019-06-29 19:58:35 +09:00
parent 7ccebf8972
commit 868d2b9f6f
2 changed files with 16 additions and 18 deletions

View File

@ -201,13 +201,13 @@ oom_score_adj_max = 0
5.2 Matching CGroup-line (v1 and v2) with RE patterns 5.2 Matching CGroup-line (v1 and v2) with RE patterns
@BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/system.slice @BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/system\.slice/
@BADNESS_ADJ_RE_CGROUP_V1 50 /// foo.service @BADNESS_ADJ_RE_CGROUP_V1 50 /// /foo\.service$
@BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/user.slice @BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/user\.slice/
@BADNESS_ADJ_RE_CGROUP_V2 100 /// ^/workload @BADNESS_ADJ_RE_CGROUP_V2 100 /// ^/workload
5.3 Matching eUIDs with RE patterns 5.3 Matching eUIDs with RE patterns
@ -253,8 +253,8 @@ oom_score_adj_max = 0
@SOFT_ACTION_RE_NAME ^foo$ /// kill -SEGV $PID @SOFT_ACTION_RE_NAME ^foo$ /// kill -SEGV $PID
@SOFT_ACTION_RE_NAME ^bash$ /// kill -9 $PID @SOFT_ACTION_RE_NAME ^bash$ /// kill -9 $PID
@SOFT_ACTION_RE_CGROUP_V1 ^/system.slice/ /// systemctl restart $SERVICE @SOFT_ACTION_RE_CGROUP_V1 ^/system\.slice/ /// systemctl restart $SERVICE
@SOFT_ACTION_RE_CGROUP_V1 foo.service$ /// systemctl restart $SERVICE @SOFT_ACTION_RE_CGROUP_V1 /foo\.service$ /// systemctl restart $SERVICE
$PID will be replaced by process PID. $PID will be replaced by process PID.
$NAME will be replaced by process name. $NAME will be replaced by process name.
@ -321,18 +321,17 @@ print_sleep_periods = False
print_total_stat = True print_total_stat = True
print_proc_table = True print_proc_table = False
Valid values: Valid values:
None None
cgroup_v1 cgroup_v1
cgroup_v2 cgroup_v2
realpath
cmdline cmdline
environ environ
realpath
All
extra_table_info = cgroup_v1 extra_table_info = None
print_victim_info = True print_victim_info = True

View File

@ -199,11 +199,11 @@ oom_score_adj_max = 0
5.2. Matching CGroup_v1-line with RE patterns 5.2. Matching CGroup_v1-line with RE patterns
@BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/system.slice @BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/system\.slice/
@BADNESS_ADJ_RE_CGROUP_V1 50 /// foo.service @BADNESS_ADJ_RE_CGROUP_V1 50 /// /foo\.service$
@BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/user.slice @BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/user\.slice/
5.3. Matching CGroup_v2-line with RE patterns 5.3. Matching CGroup_v2-line with RE patterns
@ -249,8 +249,8 @@ oom_score_adj_max = 0
@SOFT_ACTION_RE_NAME ^foo$ /// kill -SEGV $PID @SOFT_ACTION_RE_NAME ^foo$ /// kill -SEGV $PID
@SOFT_ACTION_RE_NAME ^bash$ /// kill -9 $PID @SOFT_ACTION_RE_NAME ^bash$ /// kill -9 $PID
@SOFT_ACTION_RE_CGROUP_V1 ^/system.slice/ /// systemctl restart $SERVICE @SOFT_ACTION_RE_CGROUP_V1 ^/system\.slice/ /// systemctl restart $SERVICE
@SOFT_ACTION_RE_CGROUP_V1 foo.service$ /// systemctl restart $SERVICE @SOFT_ACTION_RE_CGROUP_V1 /foo\.service$ /// systemctl restart $SERVICE
$PID will be replaced by process PID. $PID will be replaced by process PID.
$NAME will be replaced by process name. $NAME will be replaced by process name.
@ -323,12 +323,11 @@ print_proc_table = False
None None
cgroup_v1 cgroup_v1
cgroup_v2 cgroup_v2
realpath
cmdline cmdline
environ environ
realpath
All
extra_table_info = cgroup_v1 extra_table_info = None
print_victim_info = True print_victim_info = True