linux 查看tcp数量

netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'

posted on 2018-08-30 16:27  马什么梅  阅读(147)  评论(0编辑  收藏  举报

导航