Cache Report Generation With Calamaris - Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 04-08-2006 Installation Manual

Table of Contents

Advertisement

42.8 Cache Report Generation with
Calamaris
Calamaris is a Perl script used to generate reports of cache activity in ASCII or HTML
format. It works with native Squid access log files. The Calamaris home page is located
at http://Calamaris.Cord.de/. The program is quite easy to use.
Log in as root then enter cat access.log.files | calamaris options
> reportfile. It is important when piping more than one log file that the log files
are chronologically ordered with older files first. These are some options of the program:
-a
output all available reports
-w
output as HTML report
-l
include a message or logo in report header
More information about the various options can be found in the program's manual page
with man calamaris.
A typical example is:
cat access.log.2 access.log.1 access.log | calamaris -a -w \
> /usr/local/httpd/htdocs/Squid/squidreport.html
This puts the report in the directory of the Web server. Apache is required to view the
reports.
Another powerful cache report generator tool is SARG (Squid Analysis Report Gener-
ator). More information about this is available at:
.net/.
http://sarg.sourceforge
The Proxy Server Squid
809

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents