Created
February 4, 2016 11:55
-
-
Save ar7n/edf630604aacf9c7a35d to your computer and use it in GitHub Desktop.
Count the number of requests from IPs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat access.log | awk '{print $1}' | sort -n | uniq -c | sort -nr | head -20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment