netstat -nat|grep -i "80"|wc -l
查看80的
统计httpd协议的连接数
ps -ef |grep httpd|wc -l
统计状态为ESTABLISHED的连接数
netstat -na|grep ESTABLISHED|wc -l
查看哪个IP地址连接数多
netstat -na|grep ESTABLISHED|awk '{print 1}'|sort|uniq -c|sort -r|
netstat -nat|grep -i "80"|wc -l
ps -ef |grep httpd|wc -l
netstat -na|grep ESTABLISHED|wc -l
netstat -na|grep ESTABLISHED|awk '{print 1}'|sort|uniq -c|sort -r|