]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mworker/cli: add 'debug' to 'show proc'
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 24 Oct 2024 12:18:30 +0000 (14:18 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 24 Oct 2024 12:23:27 +0000 (14:23 +0200)
commit84640aaa2acc98c4e3e371e3e18196dd8bf7f733
treea2cebd658a752b3687d5df0337618d750810b187
parent362de90f3e4ddd0c15331c6b9cb48b671a6e2385
MINOR: mworker/cli: add 'debug' to 'show proc'

This patch adds a 'debug' parameter to the 'show proc' command of the
master CLI. It allows to show debug details about the processes.

Example:

echo 'show proc debug' | socat /tmp/master.sock -
\#<PID>          <type>          <reloads>       <uptime>        <version>       <ipc_fd[0]>     <ipc_fd[1]>
391999          master          0 [failed: 0]   0d00h00m02s     3.1-dev10-b9095a-63 5               6
\# workers
392001          worker          0               0d00h00m02s     3.1-dev10-b9095a-63 3               -1
\# programs
doc/management.txt
src/mworker.c