apache 접속자확인

현제 접속중인 세션
netstat -anp | grep “:80″ | grep “ESTABLISHED” | wc -l

현재 접속중인 ip

netstat -anp | grep “:80″ | grep “ESTABLISHED” | sed “s/:/ /g” | awk ‘{print $6}’ | sort -n | uniq -c | wc -l

Leave your Comment

Your email address will not be published. Required fields are marked *