The Webalizer
The Webalizer is a fast, free Web
Log Analyzer. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web
browser.
Installation
To install Webalizer, connect to your server via SSH or Telnet and
issue these commands:
% vinstall webalizer
% rehash
Usage
You may run The Webalizer by doing the following. The -o flag and trailing directory name (/www/htdocs/stats/)
designate where The Webalizer output will be written.
% virtual webalizer -o /www/htdocs/stats/ /www/logs/access_log
To run The Webalizer daily at a scheduled time, add a line like the following to your server
Crontab.
35 0 * * * /usr/local/bin/virtual /usr/local/bin/webalizer -o /www/htdocs/stats/ /www/logs/access_log
This particular line will run The Webalizer each night at 12:35am and write the output in your ~/www/htdocs/stats/
directory. For a Virtual Subhost, add a line like this (the text below should all be
placed on a single line):
35 0 * * * /usr/local/bin/virtual /usr/local/bin/webalizer-n SUBHOST-DOMAIN.NAME -o /www/vhosts/SUBHOST-DIR/htdocs/stats/ /www/vhosts/SUBHOST-DIR/logs/access_log
Documentation
Manual pages are installed on your Virtual Private Server when you install The Webalizer. Use the man command to access
them.
% man webalizer
|