Created
January 20, 2014 13:22
-
-
Save rossnz/8519752 to your computer and use it in GitHub Desktop.
List most active Nginx sites, for when you deploy Nginx as a forward proxy
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 /var/log/nginx/access.log | awk '$9 ~ "200" {print $2}' | sort | uniq -c | sort -hr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment