查询连接的服务器和连接数量

转自:http://blog.itpub.net/29254281/viewspace-1994240/

netstat -an | grep 80 | awk '{split($5,data,":");print data[1]}' | sort | uniq -c | sort -n

猜你喜欢

转载自blog.csdn.net/fanfan_618/article/details/90034716