linux 解决大量SYN_RECV CLOSE_WAIT
[root@localhost ~]# netstat -nat | awk '/^tcp/{++S[$NF]}END{for (a in S) print a,S[a]}'[root@localhost ~]# netstat -antActive Internet connections (servers and established)Proto Recv-Q Send-Q Lo
[root@localhost ~]# netstat -nat | awk '/^tcp/{++S[$NF]}END{for (a in S) print a,S[a]}'
[root@localhost ~]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address
tcp
tcp
tcp
tcp
tcp