Re: Squid Cache Statistics

From: Michael R. Poyaoan <mrp@dont-contact.us>
Date: Mon, 08 Jul 1996 16:26:17 +0800

Pete Philips wrote:

> I use the Perl scripts available at http://www.nlanr.net/Squid/Scripts for
> squid specific stats

  I tried using the above scripts but I didn't get any results.

  I don't know if I ran the scripts properly, but here's what I did:

  access-extract.pl /usr/local/squid/logs/access.log > summary
  access-summary.pl summary > report.txt

  I attached the two resulting files (summary and report.txt). Please take
  time to review them and do give me a feedback on what could be wrong.

  Thanks again!

Mike =)

----------------------------------------------------------------------
MICHAEL R. POYAOAN

SKY Internet email: mrp@skyinet.net
1670 Quezon Avenue phone: +63 2 411-2005
Quezon City fax: +63 2 411-2003
Philippines
----------------------------------------------------------------------

# SORTING %SE, 0 values...
# THRESH %SE = 0
# SORTING %PR, 0 values...
# THRESH %PR = 0
# SORTING %ME, 0 values...
# THRESH %ME = 0
# SORTING %DO, 0 values...
# THRESH %DO = 0
# SORTING %TI, 0 values...
# THRESH %TI = 0
# SORTING %TY, 0 values...
# THRESH %TY = 0
# SORTING %CL, 0 values...
# THRESH %CL = 0
TO|TCP|REQUESTS -1
TO|UDP|REQUESTS -1
TO|TCP|BYTES -1
TIMESTAMP|FIRST 207.2.4.44
TIMESTAMP|LAST 206.101.197.228

FIRST ACCESS: Thu Jan 1 08:03:27 1970
 LAST ACCESS: Thu Jan 1 08:03:26 1970

                        SUMMARY OF REQUEST METHOD USAGE

                            UDP COUNTS TCP COUNTS TCP BYTES
Method counts %all %hit counts %all %hit Mbytes %all %hit
----------------------- ----------------- ----------------- ------------------
----------------------- ----------------- ----------------- ------------------

                           SUMMARY OF PROTOCOL USAGE

                            UDP COUNTS TCP COUNTS TCP BYTES
Protocol counts %all %hit counts %all %hit Mbytes %all %hit
----------------------- ----------------- ----------------- ------------------
----------------------- ----------------- ----------------- ------------------

                            SUMMARY OF CLIENT USAGE

                            UDP COUNTS TCP COUNTS TCP BYTES
Client counts %all %hit counts %all %hit Mbytes %all %hit
----------------------- ----------------- ----------------- ------------------
----------------------- ----------------- ----------------- ------------------
----------------------- ----------------- ----------------- ------------------

                            SUMMARY OF SERVER USAGE

                            UDP COUNTS TCP COUNTS TCP BYTES
Server counts %all %hit counts %all %hit Mbytes %all %hit
----------------------- ----------------- ----------------- ------------------
----------------------- ----------------- ----------------- ------------------

                              SUMMARY OF URL TYPES

                            UDP COUNTS TCP COUNTS TCP BYTES
Type counts %all %hit counts %all %hit Mbytes %all %hit
----------------------- ----------------- ----------------- ------------------
----------------------- ----------------- ----------------- ------------------

                        SUMMARY OF URL TOP-LEVEL DOMAINS

                            UDP COUNTS TCP COUNTS TCP BYTES
Domain counts %all %hit counts %all %hit Mbytes %all %hit
----------------------- ----------------- ----------------- ------------------
----------------------- ----------------- ----------------- ------------------

                               CLIENT UTILIZATION

Client Hitrate + HTTP:ICP Ratio = Utilization
----------------------- ------ -------------- -----------

                              TOP 25 HTTP Reqeusts

                              TOP 25 ICP Reqeusts

           Request Distribution, combined HTTP and ICP, per half hour

                 +------------------------------------------------+
           1- 1| |
           1- 0| |
           1- 0| |
           1- 0| |
           1- 0| |
           1- 0| |
           1- 0| |
           1- 0| |
           1- 0| |
           1- 0| |
        Counts /------------------------------------------------+
             Hour 0 1 2 3 4 5 6 7 8 9 10 12 14 16 18 20 22
Received on Mon Jul 08 1996 - 01:27:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:35 MST