Created
October 5, 2012 13:20
-
-
Save dcosson/3839768 to your computer and use it in GitHub Desktop.
Count viewers on a mongrel2 site
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
# bash command to count the number of unique ip addresses in the mongrel2 access log (default format) | |
cat mongrel2.access.log | cut -f 4 -d : | cut -f 1 -d , | sort | uniq | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment