]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: add a new "show fd" command
authorWilly Tarreau <w@1wt.eu>
Tue, 25 Jul 2017 17:32:50 +0000 (19:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Jul 2017 15:03:12 +0000 (17:03 +0200)
commit7a4a0ac71d51c592f20622d1b5530042ae79f3b9
treeb2c98bc0d50fe89427421e4383cd5d36c20c9798
parent6d0d3f65465c3d2693757faf2f7598a8c811dbc3
MINOR: cli: add a new "show fd" command

This one dumps the fdtab for all active FDs with some quickly interpretable
characters to read the flags (like upper case=set, lower case=unset). It
can probably be improved to report fdupdt[] and/or fdinfo[] but at least it
provides a good start and allows to see how FDs are seen. When the fd owner
is a connection, its flags are also reported as it can help compare with the
polling status, and the target (fe/px/sv) as well. When it's a listener, the
listener's state is reported as well as the frontend it belongs to.
doc/management.txt
src/cli.c