]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: management: edit the "show proc" example to show the current output
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 10 Nov 2021 14:42:17 +0000 (15:42 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 10 Nov 2021 14:53:01 +0000 (15:53 +0100)
The "show proc" output changed and it's time to update the example.

The output does not display the relative PID anymore since the nbproc
keyword disappeared, and it displays the number of failed reloads since
the last successful one.

doc/management.txt

index c85ae1fee6cda1c10da70398d38b9d8932b733c3..146ae2e22513b8c06416c7b2bbf623ec26b9874a 100644 (file)
@@ -3565,19 +3565,21 @@ Example:
    # haproxy -Ws -S /tmp/master-socket,uid,1000,gid,1000,mode,600 -f test1.cfg
    # haproxy -W -S /tmp/master-socket,level,user -f test1.cfg
 
-The master CLI introduces a new 'show proc' command to surpervise the
+The master CLI introduces a 'show proc' command to surpervise the
 processes:
 
 Example:
 
   $ echo 'show proc' | socat /var/run/haproxy-master.sock -
-  #<PID>          <type>          <relative PID>  <reloads>       <uptime>        <version>
-  1162            master          0               5               0d00h02m07s     2.0-dev7-0124c9-7
+  #<PID>          <type>          <reloads>       <uptime>        <version>
+  1162            master          5 [failed: 0]   0d00h02m07s     2.5-dev13
   # workers
-  1271            worker          1               0               0d00h00m00s     2.0-dev7-0124c9-7
-  1272            worker          2               0               0d00h00m00s     2.0-dev7-0124c9-7
+  1271            worker          1               0d00h00m00s     2.5-dev13
   # old workers
-  1233            worker          [was: 1]        3               0d00h00m43s     2.0-dev3-6019f6-289
+  1233            worker          3               0d00h00m43s     2.0-dev3-6019f6-289
+  # programs
+  1244            foo             0               0d00h00m00s     -
+  1255            bar             0               0d00h00m00s     -
 
 
 In this example, the master has been reloaded 5 times but one of the old