mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-23 01:01:31 +03:00
55 lines
1.3 KiB
ReStructuredText
55 lines
1.3 KiB
ReStructuredText
.. _fs:
|
|
|
|
File System
|
|
===========
|
|
|
|
.. image:: ../_static/fs.png
|
|
|
|
Glances displays the used and total file system disk space. The unit is
|
|
adapted dynamically.
|
|
|
|
Alerts are set for `user disk space usage <https://psutil.readthedocs.io/en/latest/index.html?highlight=disk%20usage#psutil.disk_usage>`_.
|
|
|
|
Legend:
|
|
|
|
===================== ============
|
|
User disk space usage Status
|
|
===================== ============
|
|
``<50%`` ``OK``
|
|
``>50%`` ``CAREFUL``
|
|
``>70%`` ``WARNING``
|
|
``>90%`` ``CRITICAL``
|
|
===================== ============
|
|
|
|
.. note::
|
|
Limit values can be overwritten in the configuration file under
|
|
the ``[fs]`` section.
|
|
|
|
By default, the plugin only displays physical devices (hard disks, USB
|
|
keys). To allow other file system types, you have to enable them in the
|
|
configuration file. For example, if you want to allow the ``shm`` file
|
|
system:
|
|
|
|
.. code-block:: ini
|
|
|
|
[fs]
|
|
allow=shm
|
|
|
|
Also, you can hide mount points using regular expressions.
|
|
|
|
To hide all mount points starting with /boot and /snap:
|
|
|
|
.. code-block:: ini
|
|
|
|
[fs]
|
|
hide=/boot.*,/snap.*
|
|
|
|
Filtering are also applied on device name (Glances 3.1.4 or higher).
|
|
|
|
Example to hide all /dev/sdb mount points:
|
|
|
|
.. code-block:: ini
|
|
|
|
[fs]
|
|
hide=/dev/sdb.*
|