summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2024-04-25 15:36:30 +0200
committernicolargo <nicolas@nicolargo.com>2024-04-25 15:36:30 +0200
commit8ab5d9fcc26214ba95047b94b5964efafc7b7bd2 (patch)
tree8391da1c83630611e8a9fb007cea1fd7e192aa78 /conf
parent0df1371513ec4452e71d75a70f6fa7058f4277c0 (diff)
The cpulist of the percpu parameter cannot be fully displayed due to too many cores #2734
Diffstat (limited to 'conf')
-rw-r--r--conf/glances.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index 0e7ebbdf..e3f52711 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -110,13 +110,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