Skip to content

Instantly share code, notes, and snippets.

@prestontimmons
Created March 29, 2010 17:42
Show Gist options
  • Save prestontimmons/348153 to your computer and use it in GitHub Desktop.
Save prestontimmons/348153 to your computer and use it in GitHub Desktop.
Get unique apache errors and count
# 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