This commit is contained in:
Alexey Avramov 2019-01-14 20:54:36 +09:00
parent dc1bdddb6f
commit 1ad092d36d
2 changed files with 13 additions and 13 deletions

6
nohang
View File

@ -1538,9 +1538,9 @@ warn_time_now = 0
warn_time_delta = 1000
warn_timer = 0
x = time() - start_time
print('Startup time:',
round(x * 1000, 1), 'ms')
# x = time() - start_time
# print('Startup time:',
# round(x * 1000, 1), 'ms')
print('Monitoring started!')

View File

@ -42,13 +42,13 @@
MemAvailable levels.
mem_min_sigterm = 200M
mem_min_sigkill = 100M
mem_min_sigterm = 10 %
mem_min_sigkill = 5 %
SwapFree levels.
swap_min_sigterm = 200M
swap_min_sigkill = 100M
swap_min_sigterm = 10 %
swap_min_sigkill = 5 %
Specifying the total share of zram in memory, if exceeded the
corresponding signals are sent. As the share of zram in memory
@ -132,7 +132,7 @@ min_delay_after_sigkill = 1
Valid values are True and False.
Values are case sensitive.
decrease_oom_score_adj = True
decrease_oom_score_adj = False
Valid values are integers from the range [0; 1000].
@ -160,7 +160,7 @@ oom_score_adj_max = 30
Valid values are True and False.
regex_matching = True
regex_matching = False
Syntax:
@ -184,7 +184,7 @@ regex_matching = True
A good option that allows fine adjustment.
re_match_cmdline = True
re_match_cmdline = False
@CMDLINE_RE 300 /// -childID|--type=renderer
@ -195,7 +195,7 @@ re_match_cmdline = True
The most slow option
re_match_uid = True
re_match_uid = False
@UID_RE -100 /// ^0$
@ -215,7 +215,7 @@ re_match_uid = True
Valid values are True and False.
execute_the_command = True
execute_the_command = False
The length of the process name can't exceed 15 characters.
The syntax is as follows: lines starting with keyword $ETC are
@ -258,7 +258,7 @@ $ETC firefox-esr /// kill -SEGV $PID
See also wiki.archlinux.org/index.php/Desktop_notifications
Valid values are True and False.
gui_notifications = True
gui_notifications = False
Enable GUI notifications about the low level of available memory.
Valid values are True and False.