Re: [squid-users] Question: squidclient in ping mode

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 2 Mar 2004 00:22:33 +0100 (CET)

On Mon, 1 Mar 2004, OTR Comm wrote:

> Hello,
>
> When squidclient is used in ping mode, e.g.
>
> /usr/local/squid/bin/squidclient -g 5 -h 209.145.208.8 -p 8939
> http://216.19.43.110
> 2004-03-01 11:33:11 [1]: 0.131 secs, 7.557252 KB/s
> 2004-03-01 11:33:12 [2]: 0.001 secs, 997.000000 KB/s
> 2004-03-01 11:33:13 [3]: 0.001 secs, 997.000000 KB/s
> 2004-03-01 11:33:14 [4]: 0.001 secs, 997.000000 KB/s
> 2004-03-01 11:33:15 [5]: 0.001 secs, 997.000000 KB/s
>
> what is actually being pinged here?

The Squid server is HTTP-pinged. squidclient sends the given HTTP request
to the Squid server and measures the response time. The first request is
most likely a cache miss, the second and onwards request cache hits.

It is not the same as a ICMP ECHO request (the ping command), but named
"ping" from the similarity with the ping command used for sending ICMP
ECHO requests.

Regards
Henrik
Received on Tue Mar 02 2004 - 16:59:34 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:01 MST