I recently needed to figure out what IP was hammering our site. It was so bad it almost came to crash.
tail -50000 /var/log/httpd/yourwebsite.com_http_request_log | awk '{print $1}' | sort | uniq -c | sort -n | tail
I recently needed to figure out what IP was hammering our site. It was so bad it almost came to crash.
tail -50000 /var/log/httpd/yourwebsite.com_http_request_log | awk '{print $1}' | sort | uniq -c | sort -n | tail