netstat -nat | awk '{print $6}' | sort | uniq -c| sort -rn
netstat -n | awk '/^tcp/ {++S[$NF]};END {for(a in S) print a, S[a]}'
netstat -n | awk '/^tcp/ {++state[$NF]}; END {for(key in state) print key," ",state[key]}'
. netstat -n | awk '/^tcp/ {++arr[$NF]};END {for(k in arr) print k," ",arr[k]}'
netstat -n | awk '/^tcp/ {print $NF}' | sort | uniq -c| sort -rn
netstat -ant | awk '{print $NF}' | grep - v '[a-z]' | sort | uniq -c
|