Re: I need a tool to analyse squid's access.log

From: Evgeny Kotsuba <evgen__k@dont-contact.us>
Date: Mon, 17 Oct 2005 21:08:12 +0400

On Mon, 17 Oct 2005 08:18:17 -0400
  Nick Lewycky <nicholas@mxc.ca> wrote:
> Leandro Scott R.Z. Jacques wrote:
>> I'm needing some tool to analyse squid's access.log to
>> check cache hits and cache misses and how many bytes
>> had to be downloaded from the origin server due to the
>> misses and how many bytes was returned from the cache
>> by cache hits. Is there any tool that makes it?
>
> I wrote something in Perl to count cache hits and misses, but not
>the
> bytes. If you know perl it wouldn't be hard to add. Specifically,
> $line[4] contains the number of bytes transferred.
>
my %hits = ('TCP_HIT' => 1,
             'TCP_REFRESH_HIT' => 1,

TCP_REFRESH_HIT is thing that had bytes to be downloaded from the
origin server due to not misses, but good or wrong will of the
origin server

SY,
Evgeny Kotsuba
Received on Mon Oct 17 2005 - 11:08:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:07 MST