记录一条命令2013-04-19以前随便敲敲的,现在想了老半天。 记性越来越差了 55555 netstat -nat | awk '{++S[$NF]} END {for(a in S) print a,"\t",S[a]}'