One way is to grep the logs
Code:
grep '19/May/2009' /var/log/httpd/access_log | awk '{print $1}' | sort | uniq | wc -l
That shows the number of unique ip's that have visited the site today.
Note, it's not completely accurate. People with certain ISP's and behind corporate firewalls will usually have the same IP address. This will also count spiders and things.
Another somewhat useful tool is google analytics. It's numbers tend to be off by 20-30% but, overall, it is pretty useful for analyzing traffic
|