统计80端口的连接并排序 :

netstat -na|grep :80|awk '{print $5}'|awk -F: '{print $1}'|sort|uniq -c|sort -r -n

这样就能显示出80端口的所有连接并进行排序.