统计服务连接状况

netstat -atn | awk '/:80>/{S[$NF]++}END {for(A in S) {print A,S[A]}}'

原文地址:https://www.cnblogs.com/jjzd/p/5990088.html