Created
March 29, 2010 17:42
-
-
Save prestontimmons/348153 to your computer and use it in GitHub Desktop.
Get unique apache errors and count
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
# Get unique apache errors and count | |
sudo tail -100 /var/log/httpd/error_log | cut -d']' -f 4-99 | sed -e "s/, referer.*//g"|sort|uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment