Linux统计当前网络链接数状况

netstat -n | awk '/^tcp/ {++state[$NF]} END {for(key in state) print key,"\t",state[key]}'
相关文章
相关标签/搜索