MINOR: stats: correct documentation of process ID for typed output

The process ID appears at the end of the first column rather than
the line.
This commit is contained in:
Simon Horman 2016-11-21 17:00:24 +01:00 committed by Willy Tarreau
parent 985532d1d8
commit 1084a3631f

View File

@ -1802,8 +1802,9 @@ show info [typed]
11.PoolFailed.1:MCP:u32:0 11.PoolFailed.1:MCP:u32:0
(...) (...)
In the typed format, the presence of the process ID at the end of the line In the typed format, the presence of the process ID at the end of the
makes it very easy to visually aggregate outputs from multiple processes. first column makes it very easy to visually aggregate outputs from
multiple processes.
Example : Example :
$ ( echo show info typed | socat /var/run/haproxy.sock1 ; \ $ ( echo show info typed | socat /var/run/haproxy.sock1 ; \
@ -2067,9 +2068,10 @@ show stat [<iid> <type> <sid>] [typed]
B.3.0.55.lastsess.1:MMP:s32:-1 B.3.0.55.lastsess.1:MMP:s32:-1
(...) (...)
In the typed format, the presence of the process ID at the end of the line In the typed format, the presence of the process ID at the end of the
makes it very easy to visually aggregate outputs from multiple processes, as first column makes it very easy to visually aggregate outputs from
show in the example below where each line appears for each process : multiple processes, as show in the example below where each line appears
for each process :
$ ( echo show stat typed | socat /var/run/haproxy.sock1 - ; \ $ ( echo show stat typed | socat /var/run/haproxy.sock1 - ; \
echo show stat typed | socat /var/run/haproxy.sock2 - ) | \ echo show stat typed | socat /var/run/haproxy.sock2 - ) | \