summaryrefslogtreecommitdiffstats
path: root/docs/aoa
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 /docs/aoa
parent0df1371513ec4452e71d75a70f6fa7058f4277c0 (diff)
The cpulist of the percpu parameter cannot be fully displayed due to too many cores #2734
Diffstat (limited to 'docs/aoa')
-rw-r--r--docs/aoa/cpu.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/aoa/cpu.rst b/docs/aoa/cpu.rst
index 0d221643..1124663c 100644
--- a/docs/aoa/cpu.rst
+++ b/docs/aoa/cpu.rst
@@ -53,6 +53,19 @@ To switch to per-CPU stats, just hit the ``1`` key:
.. image:: ../_static/per-cpu.png
In this case, Glances will show on line per logical CPU on the system.
+If you have multiple core, it is possible to define the maximun number
+of CPU to display. The top 'max_cpu_display' will be display and an
+extra line with the mean of all others CPU will be added.
+
+.. code-block:: ini
+
+ [percpu]
+ # Define the maximum number of CPU display at a time
+ # If the number of CPU is higher than:
+ # - display the top 'max_cpu_display' (sorted by CPU consumption)
+ # - a last line will be added with the sum of all other CPUs
+ max_cpu_display=4
+
Logical cores means the number of physical cores multiplied by the number
of threads that can run on each core (this is known as Hyper Threading).