summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNicolargo <nicolas@nicolargo.com>2016-02-26 13:38:46 +0100
committerNicolargo <nicolas@nicolargo.com>2016-02-26 13:38:46 +0100
commit5497ae125f7eafb19db6c2f61bb523fb0da3c3ab (patch)
treec03e5a973ba80f28cd8c6d7e9b498fd6949ada40 /docs
parent2cb24a88be16393aa68f6984daa6ec062d7554d6 (diff)
Use wildcard (regexp) to the hide configuration option for network, diskio and fs sections #799
Diffstat (limited to 'docs')
-rw-r--r--docs/glances-doc.rst23
1 files changed, 20 insertions, 3 deletions
diff --git a/docs/glances-doc.rst b/docs/glances-doc.rst
index 37f1a1eb..8fc86ed1 100644
--- a/docs/glances-doc.rst
+++ b/docs/glances-doc.rst
@@ -2,11 +2,11 @@
Glances
=======
-This manual describes *Glances* version 2.5.1.
+This manual describes *Glances* version 2.6.
-Copyright © 2011-2015 Nicolas Hennion <nicolas@nicolargo.com>
+Copyright © 2011-2016 Nicolas Hennion <nicolas@nicolargo.com>
-October, 2015
+March, 2016
.. contents:: Table of Contents
@@ -537,6 +537,13 @@ Alerts are only set if the maximum speed per network interface is available
and per-interface limit values in the ``[network]`` section of the
configuration file and aliases for interface name.
+For example, if you want to hide the loopback interface (lo) and all the virtual docker interface (docker0, docker1...):
+
+::
+
+ [network]
+ hide=lo,docker.*
+
Disk I/O
--------
@@ -549,6 +556,13 @@ There is no alert on this information.
*Note*: it is possible to define a list of disks to hide under the
``[diskio]`` section in the configuration file and aliases for disk name.
+For example, if you want to hide the loopback disks (loop0, loop1..) and the specific sda5 disk:
+
+::
+
+ [diskio]
+ hide=sda5,loop.*
+
File System
-----------
@@ -575,10 +589,13 @@ By default, the plugin only displays physical devices (hard disks, USB
keys) and ignore all others. To allow others FS type, you have to use the
following section in the configuration file:
+For example, if you want to allow the zfs and misc filesystems and hide boot mount points:
+
::
[fs]
allow=zfs,misc
+ hide=/boot.*
Folders
-------