cachemgr.cgi should be found where you compiled squid.
Look in the src directory.

Regarding client, you use the -p switch to connect to a port different than
the default.

# client -p 3328 cache_object://localhost/info

When you see that it works you can pipe the output to grep to filter out all
but the interesting bits:

# client -p 3328 cache_object://localhost/info | egrep 'HTTP req|physical'

/Andreas



----- Original Message ----- 
From: "Angela Burrell" <[EMAIL PROTECTED]>
To: "Andreas Pettersson" <[EMAIL PROTECTED]>
Sent: Tuesday, April 20, 2004 9:13 PM
Subject: RE: [squid-users] slow squid; FAQ question


> Andreas,
>
> Thank you for your reply. I have two problems.
>
> 1. Yes I have Apache set up on my server. But I cannot find the
cachemgr.cgi
> file that the FAQ # 9 mentions. I used the Linux find command, but all it
> does is print out a list of all my directories. The locations that the FAQ
> says the cachemgr.cgi file might be, don't exist on my machine.
>
> 2. I tried to do as you suggested and used the client command. My
squid.conf
> is already set up as you said.
> [EMAIL PROTECTED] squid]# client cache_object://localhost:3328/info
> client: ERROR: Cannot connect to localhost:3128: Connection refused
>
> (note that the port squid is listening on is NOT 3128. but 3328)

Reply via email to