netstat -anp | grep ‘tcp\|udp’ | awk ‘{print$5}’ | cut -d: -f1 | sort | uniq -c | sort -n OR netstat -anp | grep ‘tcp\|udp’|grep -vi “wait” | awk ‘{print$5}’ | cut -d: -f1 | sort | uniq -c | sort -n
A Solutionist
netstat -anp | grep ‘tcp\|udp’ | awk ‘{print$5}’ | cut -d: -f1 | sort | uniq -c | sort -n OR netstat -anp | grep ‘tcp\|udp’|grep -vi “wait” | awk ‘{print$5}’ | cut -d: -f1 | sort | uniq -c | sort -n