You can use cachemgr.cgi which comes with Squid source. cachemgr.cgi is the
cgi program which is used to get information from Squid at runtime. This
gives the output in the browser to which there is need to configure in
Squid.conf. Put your cgi program in your apache's cgi-bin dir and access
through browser. And To give access rights, See cachemgr_passwd directive in
Squid.conf.
To access cache manager in the command prombt, Use client program like
this...
#pwd
/usr/local/squid/bin
#./client mgr:menu
... Displays menu....
#./client mgr:<menu-item>
Gives Specific output........
Regards,
squid@visolve.com
www.visolve.com
> How do you get that stats?
--snip---
>
> > Squid Object Cache: Version 2.4.STABLE1
> >
> > Start Time:
> > Mon, 14 May 2001 02:06:17 GMT
> > Current Time:
> > Mon, 14 May 2001 10:08:17 GMT
> >
> >
> > Connection information for squid:
> > Number of clients accessing cache: 3751
> > Number of HTTP requests received: 1479320
> > Number of ICP messages received: 1430114
> > Number of ICP messages sent: 1448698
> > Number of queued ICP replies: 0
> > Request failure ratio: 0.0000000000000%
> > HTTP requests per minute: 3069.1
> > ICP messages per minute: 5972.7
> > Select loop called: 2586341 times, 11.182 ms avg
> > Cache information for squid:
--snip-
Received on Tue May 15 2001 - 05:53:19 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:01 MST