MINOR: cli: support filtering on FD types in "show fd"
authorWilly Tarreau <w@1wt.eu>
Fri, 31 Mar 2023 14:33:53 +0000 (16:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 31 Mar 2023 14:35:53 +0000 (16:35 +0200)
commit1cb041a6eefd70864094a1910ee79eeb49f40028
tree1efc9657c5bc8fe0448611f805e20b9cf29f1d11
parent5d5afe790016401952117dbaff8a3324260faf8e
MINOR: cli: support filtering on FD types in "show fd"

Depending on what we're debugging, some FDs can represent pollution in
the "show fd" output. Here we add a set of filters allowing to pick (or
exclude) any combination of listener, frontend conn, backend conn, pipes,
etc. "show fd l" will only list listening connections for example.
doc/management.txt
src/cli.c