/ Published in: Bash
daily hits on the youtube.video helper methods in 'utility' cls only on //ads
Expand |
Embed | Plain Text
grep 'util.net.*php' /var/log/httpd/access_log | awk ' { print substr($4,2,6) } ' | sort | uniq -c
Comments
Subscribe to comments
You need to login to post a comment.

awk ' { print $7 } ' /var/log/httpd/access_log | cut -d/ -f2,3 | sed 's/\?.*$//' | sort | uniq -c | sort -nr
tomcat access by action=
awk '{split($7,a,"/"); print a[2]}' /var/log/tomcat5/access_logyyyy-mm-dd.log | sed 's/^proxy.*/proxy/' | sort | uniq -c
solaris access by action=
awk '{split($7,a,"/"); print a[2]}' /usr/local/apache2/logs/accesslog.2010-01-18-0000_00
also need the VHost 'api-access_log' in traffic profiles