Re: [squid-users] slow squid; FAQ question

From: Andreas Pettersson <[email protected]>
Date: Tue, 20 Apr 2004 21:43:17 +0200

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" <angela@jobsearchnetwork.ca>
To: "Andreas Pettersson" <andpet@telia.com>
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.
> [root@localhost 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)
Received on Tue Apr 20 2004 - 13:37:34 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT