Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I get a report on Squid request/response, something similar to Apache server-status ?

share|improve this question
up vote 3 down vote accepted

You can use squidclient:

squidclient -h localhost -p 3128 mgr:info
HTTP/1.0 200 OK
Server: squid/3.1.6
Mime-Version: 1.0
Date: Wed, 02 Mar 2011 06:51:49 GMT
Content-Type: text/plain
Expires: Wed, 02 Mar 2011 06:51:49 GMT
Last-Modified: Wed, 02 Mar 2011 06:51:49 GMT
X-Cache: MISS from localhost
X-Cache-Lookup: MISS from localhost:3128
Via: 1.0 localhost (squid/3.1.6)
Proxy-Connection: close

Squid Object Cache: Version 3.1.6
Start Time: Wed, 02 Mar 2011 06:50:08 GMT
Current Time:   Wed, 02 Mar 2011 06:51:49 GMT
Connection information for squid:
    Number of clients accessing cache:  1
    Number of HTTP requests received:   1
    Number of ICP messages received:    0
    Number of ICP messages sent:    0
    Number of queued ICP replies:   0
    Number of HTCP messages received:   0
    Number of HTCP messages sent:   0
    Request failure ratio:   0.00
    Average HTTP requests per minute since start:   0.6
    Average ICP messages per minute since start:    0.0
    Select loop called: 29980 times, 3.352 ms avg

Also try mgr:refresh, mgr:counters, mgr:utilization, mgr:mem.

share|improve this answer
Thanks for the quick response. It is exactly what I wanted. – Supratik Mar 2 '11 at 6:58

There many options but not exactly like Apache server-status.



Squid Logfile Analysis

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.