摘要: netstat-n|awk'/^tcp/{n=split($(NF-1),array,":");if(n<=2)++S[array[(1)]];else++S[array[(4)]];++s[$NF];++N}END{for(ainS){printf("%-20s%s\n",a,S[a]);++I}... 阅读全文
posted @ 2015-06-12 13:24 Dus 阅读(890) 评论(0) 推荐(0) 编辑