Re: HTTP hit percentage

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 13 Jan 1999 04:16:07 +0100

David Robb wrote:
>
> Are there any HIT percentage stats available via SNMP from Squid 2?

I don't think so, but it can be derived from the byte / request
counters.

Byte hit ratio:
1 - cacheHttpOutKb / cacheServerInKb

Request hit ratio (excluding errors, i think):
cacheHttpHits / cacheClientHttpRequests

All parameters above are in
  
....private.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.*

There is a small naming inconsistency under cacheProtoAggregateStats:
cacheClientHttpRequests should probably be named cacheHttpRequests to
match the other related parameters.

---
Henrik Nordstrom
Spare time Squid hacker
Received on Tue Jan 12 1999 - 19:33:26 MST

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