You can use cachemgr.cgi or you can just use Squid Access.log processor or use
grep to find HIT in access.log and wc to calculate them .
Quoting Pranav Desai <prdesai@Bayou.UH.EDU>:
> 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 ...
>
> thanks
> pranav
>
> On Wed, 21 Feb 2001, Henrik Nordstrom wrote:
>
> > Two methods:
> >
> >
> > First method:
> >
> >
> > Use the client binary to request the same info pages. cachemgr.cgi is
> > merely a small program which reformats the text-based information
> Squid
> > presents into HTML for browsers...
> >
> > Start with
> > client mgr:
> >
> > then dive down in the menus by using mgr:menuname
> >
> >
> > Second method:
> >
> > Many of the metrics are also available via SNMP.
> >
> > --
> > Henrik Nordstrom
> > Squid Hacker
> >
> >
> >
> > Pranav Desai wrote:
> > >
> > > Hi!
> > > how can i get the metrics shown in the cachemgr.cgi directly from
> the
> > > source. has someone written an application to get that or can
> someone
> > > point out where to look for that in the source code ...
> > >
> > > thank you
> > > pranav
> > >
> > > --
> > > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> >
> > --
> > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> >
> >
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>
-- Regards ============================================================ / Seyyed Hamid Reza / WINDOWS FOR NOW !! / / Hashemi Golpayegani / Linux for future , FreeBSD for ever / / Morva System Co. / ------------------------------------- / / Network Administrator/ hamid@morva.net , ICQ# : 42209876 / =========================================================== -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Thu Feb 22 2001 - 06:13:18 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:08 MST