Re: Patch for squid-stats 1.4

From: David J N Begley <david@dont-contact.us>
Date: Sun, 16 Mar 1997 09:36:06 +1000 (EST)

On Thu, 13 Mar 1997, Hiroshi Naitoh wrote:

> I made a patch of squid-stats 1.4 (http://www.sbs.de/~iain/cache-stats/).
[...]
> ! $THC += $v if ($k eq 'TCP_HIT' || $k eq 'TCP_IMS_HIT');
> $UDP_count += $v if ($k =~ /^UDP_/);
> ! $UHC += $v if ($k eq 'UDP_HIT' || $k eq 'UDP_HIT_OBJ');

A short reminder for those of us still using the stock standard Squid
usage processing scripts, that these sorts of fix-ups are alread included
in the latest scripts:

                $TCP_count += $v if ($k =~ /^TCP_/);
                $THC += $v if ($k =~ /TCP.*HIT/);
                $UDP_count += $v if ($k =~ /^UDP_/);
                $UHC += $v if ($k =~ /UDP.*HIT/);

And so forth. I noticed a few percent increase in various "hit rates",
but that was about it.

dave
Received on Sat Mar 15 1997 - 15:42:24 MST

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