[xceed@p431 ~]$ netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) 1 72.68.223.129 1 74.6.74.226 2 121.134.42.46 2 216.170.90.151 2 24.35.23.88 2 69.161.87.221 14 64.233.183.104 16 64.233.183.103 17 64.233.183.147 19 64.233.183.99 25 0.0.0.0 926