日期:2014-05-16 浏览次数:20618 次
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$5}' | awk -F : '{print$1}' | sort | uniq -c | sort -r +0n netstat - na | grep SYN | awk '{print$5}' | awk -F : '{print$1}' | sort | uniq -c | sort -r +0n
netstat -nlap|grep 27017 |awk '{print $5}'|awk -F ":" '{print $1}' |sort |uniq -c |sort -t " " -k 1 -n