Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
418c10c600515007c7ded13d6575d1dbcf0ad3d5
/
.
/
dev
/
flags
/
show-fd-to-flags.sh
blob: 29757c3204771cb2c6311e340d5f038d7ca0b48d [
file
] [
log
] [
blame
]
Willy Tarreau
6a54d74
2021-04-02 13:40:03 +0200
[
diff
] [
blame
]
1
#!/bin/sh
2
awk
'{print $12}'
|
grep cflg
=
|
sort
|
uniq
-
c
|
sort
-
nr
|
while
read a b
;
do
c
=
$
{
b
##*=}; d=$(${0%/*}/flags conn $c);d=${d##*= }; printf "%6d %s %s\n" $a "$b" "$d";done