Commit 94444c4a authored by Michele Tartara's avatar Michele Tartara

Add documentation for diskstats collector

The data collector for /proc/diskstats was undocumented. Add an entry for it in
the mon-collector man page.

Also, remove some end of line whitespaces from the file.
Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent cea4194b
......@@ -27,6 +27,20 @@ print its output to stdout, in JSON format.
COLLECTORS
----------
DISKSTATS
~~~~~~~~~
| diskstats [ [ **-f** | **\--file** ] = *input-file* ]
Collects the information about the status of the disks of the system, as listed
by /proc/diskstats, or by an alternate file with the same syntax specified on
the command line.
The options that can be passed to the DRBD collector are as follows:
-f *input-file*, \--file=*input-file*
Where to read the data from. Default if not specified: /proc/diskstats
DRBD
~~~~
......@@ -71,8 +85,8 @@ one:
LOGICAL VOLUMES
~~~~~~~~~~~~~~~
| lv [ [ **-a** | **\--address** ] = *ip-address* ] [ [ **-p** | **\--port** ]
= *port-number* ] [ [ **-f** | **\--file** ] = *input-file* ]
| lv [ [ **-a** | **\--address** ] = *ip-address* ] [ [ **-p** | **\--port** ]
= *port-number* ] [ [ **-f** | **\--file** ] = *input-file* ]
[ [ **-i** | **\--instances** ] = *instances-file* ]
Collects the information about the logical volumes of the current node.
......@@ -95,10 +109,10 @@ serialized on files (mainly for testing purposes). Namely:
The name of the file containing a recorded output of the ``lvs`` tool.
-i *instances-file*, \--instances=*instances-file*
The name of the file containing a JSON serialization of instances the
The name of the file containing a JSON serialization of instances the
current node is primary and secondary for, listed as::
([Instance], [Instance])
where the first list contains the instances the node is primary for, the
where the first list contains the instances the node is primary for, the
second list those the node is secondary for.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment