Skip to content

Commit 3795605

Browse files
committed
show LISTEN state
1 parent 8c92a74 commit 3795605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcp-connection-state-counter.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# @author Jerry Lee
99

10-
netstat -tn | awk 'NR > 2 {
10+
netstat -tna | awk 'NR > 2 {
1111
s[$NF]++
1212
}
1313

0 commit comments

Comments
 (0)