diff options
author | nicolargo <nicolas@nicolargo.com> | 2021-03-21 17:11:47 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2021-03-21 17:11:47 +0100 |
commit | c96fee907e175ee2b0765da3c14d7b23b1370952 (patch) | |
tree | 6d39e7933443168c6dccaa0edb6358952dcaf2d3 /conf/glances.conf | |
parent | c5e70b7ccfb01c7432d36a1266d8b3f23404e2a2 (diff) |
Refactor the way importants stats are displayed #1826
Diffstat (limited to 'conf/glances.conf')
-rw-r--r-- | conf/glances.conf | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/conf/glances.conf b/conf/glances.conf index d7c7d87a..0ed47419 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -42,24 +42,38 @@ swap_critical=90 [cpu] disable=False +# See https://scoutapm.com/blog/slow_server_flow_chart +# +# I/O wait percentage should be lower than 1/# (# = Logical CPU cores) +# Leave commented to just use the default config: +# Careful=1/#*100-20% / Warning=1/#*100-10% / Critical=1/#*100 +#iowait_careful=30 +#iowait_warning=40 +#iowait_critical=50 +# +# Total % is 100 - idle +total_careful=65 +total_warning=75 +total_critical=85 +total_log=True +# # Default values if not defined: 50/70/90 (except for iowait) user_careful=50 user_warning=70 user_critical=90 -#user_log=False +user_log=False #user_critical_action=echo {{user}} {{value}} {{max}} > /tmp/cpu.alert +# system_careful=50 system_warning=70 system_critical=90 +system_log=False +# steal_careful=50 steal_warning=70 steal_critical=90 #steal_log=True -# I/O wait percentage should be lower than 1/# (Logical CPU cores) -# Leave commented to just use the default config (1/#-20% / 1/#-10% / 1/#) -#iowait_careful=30 -#iowait_warning=40 -#iowait_critical=50 +# # Context switch limit (core / second) # Leave commented to just use the default config (critical is 50000*# (Logical CPU cores) #ctx_switches_careful=10000 |