[root@nginx-82 vhost]# netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
ESTABLISHED 189
FIN_WAIT2 2
TIME_WAIT 1370
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_fin_timeout = 30
[root@nginx-82 etc]# netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
ESTABLISHED 178
FIN_WAIT2 8
SYN_SENT 1
TIME_WAIT 8
https://blog.csdn.net/weixin_37202689/article/details/105914068
标签:ESTABLISHED,tcp,ipv4,TIME,net,WAIT From: https://www.cnblogs.com/liudianer/p/17514875.html