命令
netstat -ant | grep -i "9559" | awk '/^tcp/ {++state[$NF]} END{for(k in state) print k, "\t", state[k]}'
ss -nat | grep 9559 | wc -l
netstat -tunlp -C 5 | grep 9559 # 查看网络数据积压--自动刷新
个人点滴记录
netstat -ant | grep -i "9559" | awk '/^tcp/ {++state[$NF]} END{for(k in state) print k, "\t", state[k]}'
ss -nat | grep 9559 | wc -l
netstat -tunlp -C 5 | grep 9559 # 查看网络数据积压--自动刷新