diff options
author | Nicolargo <nicolas@nicolargo.com> | 2016-04-27 11:55:21 +0200 |
---|---|---|
committer | Nicolargo <nicolas@nicolargo.com> | 2016-04-27 11:55:21 +0200 |
commit | 4934d78d8ec6b0c8729b6ebac6f4363ba5be72c2 (patch) | |
tree | 976a7ae8a396be5e83752eed361c3a68e7c5f5b9 /conf | |
parent | b7ac674b35c9e6592804a191e4499924569f44f6 (diff) |
Improve default configuration values for IO stats
Diffstat (limited to 'conf')
-rw-r--r-- | conf/glances.conf | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/conf/glances.conf b/conf/glances.conf index 9090e246..f50f881b 100644 --- a/conf/glances.conf +++ b/conf/glances.conf @@ -11,16 +11,12 @@ swap_warning=70 swap_critical=90 [cpu] -# Define CPU thresholds in % -# Default values if not defined: 50/70/90 +# Default values if not defined: 50/70/90 (except for iowait) user_careful=50 user_warning=70 user_critical=90 #user_log=False -#user_critical_action=echo `date` - {{user}} > /tmp/cpu.alert -iowait_careful=50 -iowait_warning=70 -iowait_critical=90 +#user_critical_action=echo {{user}} {{value}} {{max}} > /tmp/cpu.alert system_careful=50 system_warning=70 system_critical=90 @@ -28,6 +24,11 @@ steal_careful=50 steal_warning=70 steal_critical=90 #steal_log=True +# I/O wait percentage should be lower than 1/# (of CPU cores) +# Let blanck to default config (1/#-20% / 1/# / 1/#+20%) +#iowait_careful=20 +#iowait_warning=25 +#iowait_critical=30 # Context switch limit per core / second # For example, if you have 2 Core, critical limit will be 28000/sec ctx_switches_careful=10000 |