summaryrefslogtreecommitdiffstats
path: root/conf/glances.conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2021-05-23 18:54:42 +0200
committernicolargo <nicolas@nicolargo.com>2021-05-23 18:54:42 +0200
commitabb97d5286af5893b2ae69eb7c9c2f1ffc8bf61b (patch)
tree2affc48ce549204361bdbd008d6384d2414ad570 /conf/glances.conf
parent0c7e3bca5f2e3cf898f31ed2a0a129dd02159584 (diff)
First optimzation with a new dynamic way to compute the refresh rate. Good news, the CPU consumption seams to be lower than ~20% with a refresh rate more or less the same...
Diffstat (limited to 'conf/glances.conf')
-rw-r--r--conf/glances.conf12
1 files changed, 9 insertions, 3 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index 1c24b773..0b04fb34 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -3,6 +3,10 @@
##############################################################################
[global]
+# Refresh rate (default is a minimum of 2 seconds)
+# Can be overwrite by the -t <sec> option
+# It is also possible to overwrite it in each plugin sections
+refresh=2
# Does Glances should check if a newer version is available on PyPI ?
check_update=false
# History size (maximum number of values)
@@ -27,6 +31,8 @@ max_processes_display=30
# Set to true to disable a plugin
# Note: you can also disable it from the command line (see --disable-plugin <plugin_name>)
disable=False
+# Set a specific refresh rate for this plugin by overwriting the default/refresh value
+#refresh=3
# Graphical percentage char used in the terminal user interface (default is |)
percentage_char=|
# Define CPU, MEM and SWAP thresholds in %
@@ -45,7 +51,7 @@ 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:
+# 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
@@ -414,8 +420,8 @@ style=DarkStyle
[influxdb]
# !!!
-# Will be DEPRECATED in future release.
-# Please have a look on the new influxdb2 export module (compatible with InfluxDB 1.8.x and 2.x)
+# Will be DEPRECATED in future release.
+# Please have a look on the new influxdb2 export module (compatible with InfluxDB 1.8.x and 2.x)
# !!!
# Configuration for the --export influxdb option
# https://influxdb.com/