Re: Squid Cache Statistics

From: Nyall McCavitt <[email protected]>
Date: Mon, 8 Jul 1996 09:41:39 +0100 (BST)

Hi,

On Mon, 8 Jul 1996, Michael R. Poyaoan wrote:

> Pete Philips wrote:
>
> > I use the Perl scripts available at http://www.nlanr.net/Squid/Scripts for
> > squid specific stats
>
> I tried using the above scripts but I didn't get any results.
>
> I don't know if I ran the scripts properly, but here's what I did:
>
> access-extract.pl /usr/local/squid/logs/access.log > summary
> access-summary.pl summary > report.txt
>
> I attached the two resulting files (summary and report.txt). Please take
> time to review them and do give me a feedback on what could be wrong.
>

I got exactly the same result. You need to run the first perl script
with the -h option i.e.:

access-extract.pl -h /usr/local/squid/logs/access.log > summary

The same goes for access-extract-urls.pl. The reason for this is the
format of the log files.

Nyall

*****************************************************************************
* Nyall McCavitt, Computer Centre, Brunel University, Uxbridge, UB8 3PH, UK *
* email:nyall@brunel.ac.uk, +44 (0)1895 274000 extn 2588 *
*****************************************************************************
Received on Mon Jul 08 1996 - 01:43:28 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:35 MST