summaryrefslogtreecommitdiffstats
path: root/conf/glances.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/glances.conf')
-rw-r--r--conf/glances.conf37
1 files changed, 26 insertions, 11 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index 0e7ebbdf..a7ed6374 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -27,13 +27,20 @@ history_size=1200
separator=True
# Set the the Curses and WebUI interface left menu plugin list (comma-separated)
#left_menu=network,wifi,connections,ports,diskio,fs,irq,folders,raid,smart,sensors,now
-# Limit the number of processes to display (for the WebUI)
+# Limit the number of processes to display (in the WebUI)
max_processes_display=25
-# Set the URL prefix (for the WebUI and the API)
+# Set URL prefix for the WebUI and the API
# Example: url_prefix=/glances/ => http://localhost/glances/
-# The final / is mandatory
+# Note: The final / is mandatory
# Default is no prefix (/)
#url_prefix=/glances/
+# Set root path for WebUI statics files
+# Why ? On Debian system, WebUI statics files are not provided.
+# You can download it in a specific folder
+# thanks to https://github.com/nicolargo/glances/issues/2021
+# then configure this folder with the webui_root_path key
+# Default is folder where glances_restfull_api.py is hosted
+#webui_root_path=
##############################################################################
# plugins
@@ -110,13 +117,18 @@ steal_critical=90
#steal_log=True
#
# Context switch limit (core / second)
-# Leave commented to just use the default config (critical is 50000*# (Logical CPU cores)
+# Leave commented to just use the default config critical is 50000*(Logical CPU cores)
#ctx_switches_careful=10000
#ctx_switches_warning=12000
#ctx_switches_critical=14000
[percpu]
disable=False
+# Define the maximum number of CPU displayed at a time
+# If the number of CPU is higher than the one configured in max_cpu_display then:
+# - display top 'max_cpu_display' (sorted by CPU consumption)
+# - a last line will be added with the mean of all other CPUs
+max_cpu_display=4
# Define CPU thresholds in %
# Default values if not defined: 50/70/90
user_careful=50
@@ -227,7 +239,7 @@ public_template={continent_name}/{country_name}/{city_name}
[connections]
# Display additional information about TCP connections
-# This plugin is disabled by default
+# This plugin is disabled by default because it consumes lots of CPU
disable=True
# nf_conntrack thresholds in %
nf_conntrack_percent_careful=70
@@ -236,7 +248,7 @@ nf_conntrack_percent_critical=90
[wifi]
disable=False
-# Define SIGNAL thresholds in db (lower is better...)
+# Define SIGNAL thresholds in dBm (lower is better...)
# Based on: http://serverfault.com/questions/501025/industry-standard-for-minimum-wifi-signal-strength
careful=-65
warning=-75
@@ -255,7 +267,7 @@ hide=loop.*,/dev/loop.*
[fs]
disable=False
# Define the list of file system to hide (comma-separated regexp)
-hide=/boot.*,/snap.*
+hide=/boot.*,.*/snap.*
# Define the list of file system to show (comma-separated regexp)
#show=/,/srv
# Define filesystem space thresholds in %
@@ -321,10 +333,13 @@ port=7634
[sensors]
# Documentation: https://glances.readthedocs.io/en/latest/aoa/sensors.html
disable=False
-# By default refresh every refresh time * 2
-#refresh=6
-# Hide some sensors
-#hide=ambient
+# Set the refresh multiplicator for the sensors
+# By default refresh every Glances refresh * 3 (increase to reduce CPU consumption)
+#refresh=3
+# Hide some sensors (comma separated list of regexp)
+hide=unknown.*
+# Show only the following sensors (comma separated list of regexp)
+#show=CPU.*
# Sensors core thresholds (in Celsius...)
# Default values are grabbed from the system
#temperature_core_careful=45