Webalizer is a nice application that can give you plenty of stats about your web server(s)
Run:
apt-get install webalizer
There was a problem with webalizer looking in the wrong place for my Apache logs.
<em>root@blaster:~# webalizer
Webalizer V2.01-10 (Linux 2.6.22-14-386) locale: en_US.UTF-8
Error: Can’t open log file /var/log/apache2/access.log.1
root@blaster:~# vi /etc/webalizer/webalizer.conf</em>
My apache log file is in access.log, not access.log.1. Make that change and then fire off webalizer.
<em>root@blaster:~# webalizer</em>
<em>Webalizer V2.01-10 (Linux 2.6.22-14-386) locale: en_US.UTF-8
Using logfile /var/log/apache2/access.log (clf)
Using default GeoIP database
Creating output in /var/www/webalizer
Hostname for reports is ‘blaster’
History file not found…
Generating report for June 2008
Generating summary report
Saving history information…
673 records (11 ignored) in 3.00 seconds, 224/sec</em>
Now open your browser to: http://localhost/webalizer
I would suggest adding /usr/bin/webalizer to cron daily to keep the information up to date and if you forget, your logs may roll and you may lose valuable information.
run: crontab -e and put in the last line for webalizer. I am running it at 1:05am each morning.
root@blaster:~# crontab -l
# m h dom mon dow command
30 2 * * * /usr/bin/do_rsync
5 1 * * * /usr/bin/webalizer
|
US $6.95 (0 Bid) Auction Ends: Saturday Nov-21-2009 13:14:49 PST Bid on this Item | Buy this Item | Watch this Item |
|
US $3.97 Auction Ends: Saturday Nov-21-2009 13:15:22 PST Bid on this Item | Buy this Item | Watch this Item |
|
US $3.36 Auction Ends: Saturday Nov-21-2009 13:45:18 PST Bid on this Item | Buy this Item | Watch this Item |
|
US $2.25 (4 Bids) Auction Ends: Saturday Nov-21-2009 14:00:45 PST Bid on this Item | Buy this Item | Watch this Item |
|
US $2.43 Auction Ends: Saturday Nov-21-2009 14:15:36 PST Bid on this Item | Buy this Item | Watch this Item |
|
US $11.00 (10 Bids) Auction Ends: Saturday Nov-21-2009 14:50:30 PST Bid on this Item | Buy this Item | Watch this Item |
