mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-23 02:43:39 -04:00
This is convenient when processing large dumps, it allows to copy-paste
values to inspect from one window to another, or to directly transfer
a "show fd"/"show stream" output through sed. In order to do this, simply
pass "-" alone instead of the value and they will all be read one line at
a time from stdin. For example, in order to quickly print the different
set of connection flags from "show fd", this is sufficient:
sed -ne 's/^.* cflg=\([^ ]*\).*/\1/p' | contrib/debug/flags conn -
|
||
|---|---|---|
| .. | ||
| flags.c | ||
| Makefile | ||
| poll.c | ||