Search This Blog

Tuesday, December 28, 2010

Linux Shell Command to Findout PV's from Apache Access Log

cat /var/log/httpd/access.log | cut -d'"' -f2 | cut -d' ' -f2 | cut -d'.' -f2 | cut -d'?' -f1 | cut -d'/' -f1 | grep -v -P "gif|jpg|ico|png" | wc -l

No comments:

Post a Comment