Return to Snippet

Revision: 14930
at June 17, 2009 15:01 by rowntreerob


Initial Code
sed 's/^\[.*\] //' /var/log/httpd/error_log | awk -F\: ' { print $1 } ' | grep -v ^script | sort | uniq -c

sed 's/^\[.*\] //' /var/log/httpd/error_log  | sort | uniq -c | sort -k1 -nr | head -50

Initial URL

                                

Initial Description
drop the prefix fields and sort , profile by type

Initial Title
apache error log - profile php errors  by type

Initial Tags
php, apache

Initial Language
Bash