Skip to content

Commit 103f63a

Browse files
author
lpempera
committed
fix disk match examples
1 parent ff0f2c0 commit 103f63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

check-plugins/disk-io/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@ Just check disk ``dm-0`` (if listed as ``/dev/dm-0``):
9999

100100
.. code-block:: bash
101101
102-
./disk-io --match='.*dm-0$'
102+
./disk-io --match='dm-0$'
103103
104104
Match all disks except ``vdc``, ``vdh`` and ``vdz``:
105105

106106
.. code-block:: bash
107107
108-
./disk-io --match='^(?:(?!.*vdc|.*vdh|.*vdz).)*$'
108+
./disk-io --match='^(?:(?!vdc|vdh|vdz).)*$'
109109
110110
Match all disks starting with sd, vd, md, dm and nvme disks except the raw disk itself
111111

0 commit comments

Comments
 (0)