Thursday 7 November 2013

How to find max apache connections to a domain from IPs

You can use the following script to determine the IP/IPs from which maximum apache connections were made to the domain.

less /usr/local/apache/domlogs/domain.com | awk ‘{print $1}’ | sort | uniq -c | sort -n

No comments:

Post a Comment