Re: [squid-users] Squid usage questions.

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 10 Jun 2008 13:43:13 -0800

Roy M. wrote:
> Hi, I am new to squid and I have some usage questions regarding Squid
>
> 1. Is it possible to gracefully restart Squid, like Apache? (currently
> I only know shutdown and restart)
>

squid -k reconfigure

> 2. Are there any recommended commandline clients, rather then the
> cachemanager web interface so I can know more about the stats?
>

squidclient cache_object://localhost/menu

> 3. Is the following the correct forumla to calculate stats?
>
> CACHE_HIT = (cat access.log | grep HIT | wc -l) / (cat access.log |
> grep TCP | wc -l)
> CACHE_MEM_HIT = (cat access.log | grep MEM_HIT | wc -l) / (cat
> access.log | grep TCP | wc -l)
>

The cachemgr output (squidclient cache_object://localhost/info) will
give you that information., or you can grab it via SNMP (for trend viewing).

> Thanks.
>
> Roy
>

Chris
Received on Tue Jun 10 2008 - 21:43:19 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 12 2008 - 12:00:04 MDT