Problem
How can I anaylse the usage on my web services on my web server using 'webalizer'?
Solution
The Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser.
See: http://www.mrunix.net/webalizer/It is provided as part of SCO OpenSource Skunkware from:
For UnixWare7:ftp://ftp2.sco.com/pub/skunkware/uw7/Packages/webalizer-1.31.06pl1.pkgftp://ftp2.sco.com/pub/skunkware/uw7/Packages/webalizer-2.01.02.pkgFor OpenServer6:ftp://ftp2.sco.com/pub/skunkware/osr6/vols/webalizer-2.01Sa-VOLS.cpioInstallation Instructions:Download the package to your server, for example, to:
/local/skunkware.# cd /local/skunkwareFor UnixWare7:# pkgadd -d `pwd`/<your package choice>.pkgand follow the instructions on screenFor OpenServer6:# cpio -ivdumc -Iwebalizer-2.01Sa-VOLS.cpio# customThen select Software -> Install New -> From <my server> -> Media Images -> /local/skunkware
To Run:Once installed, check your web server is correctly entered into:
For UnixWare7:/usr/local/etc/webalizer.confFor OpenServer6:/etc/webalizer.confAssuming your web server Apache Web Server is in:
/usr/lib/apache/Ensure the LogFile is set to:/usr/lib/apache/logs/access_logThis is the file it will get statistics on.
Ensure the OutputDir is set to:/usr/lib/apache/htdocs/usageThen Run:# cd /usr/lib/apache/htdocs# mkdir usage# chmod 755 usage# webalizerFor Unixware7 ensure /usr/local/bin is in the $PATH variable.
For UnixWare7, this package has a dependancy on the Skunkware package "libpng.pkg" which is availabe from:
ftp://ftp2.sco.com/pub/skunkware/uw7/Packages/libpng-1.0.5.pkgTo View:Then using a web browser, you should be able to connect to:
http://<myserver>/usageto see the usage graphed.NOTES: Skunkware products are unsupported products. See also
http://www.mrunix.net/webalizer/ftp://ftp.mrunix.net/pub/webalizer/INSTALL