summaryrefslogtreecommitdiffstats
path: root/docs/aoa
diff options
context:
space:
mode:
Diffstat (limited to 'docs/aoa')
-rw-r--r--docs/aoa/amps.rst6
-rw-r--r--docs/aoa/containers.rst2
-rw-r--r--docs/aoa/cpu.rst13
-rw-r--r--docs/aoa/network.rst6
-rw-r--r--docs/aoa/raid.rst9
-rw-r--r--docs/aoa/wifi.rst4
6 files changed, 34 insertions, 6 deletions
diff --git a/docs/aoa/amps.rst b/docs/aoa/amps.rst
index be1d2f02..83f03c65 100644
--- a/docs/aoa/amps.rst
+++ b/docs/aoa/amps.rst
@@ -61,9 +61,11 @@ For example:
enable=false
refresh=30
one_line=false
- command=sysctl net.netfilter.nf_conntrack_count;sysctl net.netfilter.nf_conntrack_max
+ command=sysctl net.netfilter.nf_conntrack_count && sysctl net.netfilter.nf_conntrack_max
-For security reason, pipe is not directly allowed in a AMP command but you create a sheel
+Note: for multiple command, please use the '&&'' separator.
+
+For security reason, pipe is not directly allowed in a AMP command but you create a shell
script with your command:
.. code-block:: ini
diff --git a/docs/aoa/containers.rst b/docs/aoa/containers.rst
index 3750d3cf..591251cc 100644
--- a/docs/aoa/containers.rst
+++ b/docs/aoa/containers.rst
@@ -14,6 +14,8 @@ You can install this dependency using:
.. image:: ../_static/containers.png
+Note: Memory usage is compute as following "display memory usage = memory usage - inactive_file"
+
It is possible to define limits and actions from the configuration file
under the ``[containers]`` section:
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).
diff --git a/docs/aoa/network.rst b/docs/aoa/network.rst
index a1f116ac..d6b02d91 100644
--- a/docs/aoa/network.rst
+++ b/docs/aoa/network.rst
@@ -17,6 +17,8 @@ In this case thresholds values are define in bps.
Additionally, you can define:
- a list of network interfaces to hide
+- automatically hide interfaces not up
+- automatically hide interfaces without IP address
- per-interface limit values
- aliases for interface name
@@ -41,6 +43,10 @@ virtual docker interface (docker0, docker1, ...):
hide=docker.*,lo
# Define the list of network interfaces to show (comma-separated regexp)
#show=eth0,eth1
+ # Automatically hide interface not up (default is False)
+ hide_no_up=True
+ # Automatically hide interface with no IP address (default is False)
+ hide_no_ip=True
# WLAN 0 alias
wlan0_alias=Wireless IF
# It is possible to overwrite the bitrate thresholds per interface
diff --git a/docs/aoa/raid.rst b/docs/aoa/raid.rst
index 58940161..ab3622f2 100644
--- a/docs/aoa/raid.rst
+++ b/docs/aoa/raid.rst
@@ -8,7 +8,14 @@ RAID
*Dependency: this plugin uses the optional pymdstat Python lib*
This plugin is disable by default, please use the --enable-plugin raid option
-to enable it.
+to enable it or enable it in the glances.conf file:
+
+.. code-block:: ini
+
+ [raid]
+ # Documentation: https://glances.readthedocs.io/en/latest/aoa/raid.html
+ # This plugin is disabled by default
+ disable=False
In the terminal interface, click on ``R`` to enable/disable it.
diff --git a/docs/aoa/wifi.rst b/docs/aoa/wifi.rst
index 2624b083..31222290 100644
--- a/docs/aoa/wifi.rst
+++ b/docs/aoa/wifi.rst
@@ -3,9 +3,7 @@
Wi-Fi
=====
-*Availability: Linux only*
-
-*Dependency: this plugin uses the optional wifi Python lib*
+*Availability: Linux (with an /proc/net/wireless file) only*
.. image:: ../_static/wifi.png