nginx 查看当前的连接数
netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a,S[a]}'
https://www.cnblogs.com/lianzhilei/p/6025267.html
netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a,S[a]}'
https://www.cnblogs.com/lianzhilei/p/6025267.html