TCP status
TCP连接状态
*Count the number of links in various TCP states
1 | netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' |

All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
*Count the number of links in various TCP states
1 | netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' |
