On Mon, Sep 30, 2013 at 11:10 AM, Michele Tartara <[email protected]>wrote:

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

I'd like to add the following to the commit message:

"Also, remove some end of line whitespaces in the file."


>
> Signed-off-by: Michele Tartara <[email protected]>
> ---
>  man/mon-collector.rst | 22 ++++++++++++++++++----
>  1 file changed, 18 insertions(+), 4 deletions(-)
>
> diff --git a/man/mon-collector.rst b/man/mon-collector.rst
> index 046a20e..0912e81 100644
> --- a/man/mon-collector.rst
> +++ b/man/mon-collector.rst
> @@ -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.
> --
> 1.8.4
>
>
Cheers,
Michele

-- 
Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to