Re: [SQU] retrieving cache metrics

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 23 Feb 2001 06:49:58 +0100

Sure. src/stat.c has most of those functions.

Pranav Desai wrote:
>
> hi!
> i think you guys are misunderstanding me .... i know that client requests
> squid to provide the values .... but squid must be calculating it
> somewhere in the src. code and giving those value upon request .... i want
> to know that file ....
>
> thank you all for your replies....
>
> --pranav
>
> On Thu, 22 Feb 2001, Henrik Nordstrom wrote:
>
> > Pranav Desai wrote:
> > >
> > > Hi!
> > > thanks
> > > but i need to know one more thing, say for e.g .i need
> > > to find the hit ratio from the src. without using the client bin
> > > .... so can anyone point out the functions which calculates the hit ratio
> > > and provides the information to the client program ...so that i can get it
> > > from that point ...
> >
> > The client program asks Squid using HTTP. See your access.log. The
> > "mgr:" syntax to the client program is only a shortcut for constructing
> > the Squid cachemgr URLs.
> >
> > As I said this information is also available via SNMP if you prefer that
> > method for reading the metrics.
> >
> > --
> > Henrik Nordstrom
> > Squid hacker
> >
> >

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Feb 22 2001 - 22:51:27 MST

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