2016-03-02 15:29:19 +03:00
|
|
|
.. _disk:
|
|
|
|
|
|
|
|
Disk I/O
|
|
|
|
========
|
|
|
|
|
|
|
|
.. image:: ../_static/diskio.png
|
|
|
|
|
|
|
|
Glances displays the disk I/O throughput. The unit is adapted
|
|
|
|
dynamically.
|
|
|
|
|
2018-08-05 11:37:37 +03:00
|
|
|
You can display:
|
|
|
|
|
2022-10-03 16:53:24 +03:00
|
|
|
- bytes per second (default behavior / Bytes/s, KBytes/s, MBytes/s, etc)
|
2018-08-05 11:37:37 +03:00
|
|
|
- requests per second (using --diskio-iops option or *B* hotkey)
|
|
|
|
|
2016-03-02 15:29:19 +03:00
|
|
|
There is no alert on this information.
|
|
|
|
|
|
|
|
It's possible to define:
|
|
|
|
|
2022-05-22 17:27:46 +03:00
|
|
|
- a list of disk to show (white list)
|
2016-03-02 15:29:19 +03:00
|
|
|
- a list of disks to hide
|
|
|
|
- aliases for disk name
|
|
|
|
|
|
|
|
under the ``[diskio]`` section in the configuration file.
|
|
|
|
|
|
|
|
For example, if you want to hide the loopback disks (loop0, loop1, ...)
|
|
|
|
and the specific ``sda5`` partition:
|
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
[diskio]
|
|
|
|
hide=sda5,loop.*
|
2022-05-22 17:27:46 +03:00
|
|
|
|
|
|
|
or another example:
|
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
[diskio]
|
|
|
|
show=sda.*
|
2023-01-22 13:14:59 +03:00
|
|
|
|
|
|
|
Filtering is based on regular expression. Please be sure that your regular
|
|
|
|
expression works as expected. You can use an online tool like `regex101`_ in
|
|
|
|
order to test your regular expression.
|
|
|
|
|
|
|
|
.. _regex101: https://regex101.com/
|