centos 7
netstat -nat|grep ":80"|awk '{print $5}' |awk -F: '{print $1}' | sort| uniq -c|sort -n
centos 6
netstat -nat|grep ":80"|awk '{print $5}' |awk -F: '{print $4}'| sort| uniq -c|sort -n
个人微信公众号:
作者:jiankunking 出处:http://blog.csdn.net/jiankunking