Re: Cachestats- almost working!!??

From: Wayne Bastow <wbastow@dont-contact.us>
Date: Wed, 19 Jan 2000 11:59:28 +1100

Ben Mckellar wrote:
>
> Cachestats-1.4
>
> I can run ./squidstats.sh with no worries.
>
> -----><SCREEN DUMP><-----
> [root@hotproxy cachestat]# ./squidstats.sh
> kill -USR1 squid (pid 1006) (and sleeping 30 seconds) ...
> Wed Jan 19 10:53:58 EST 2000
> Processing /var/log/squid/access.log.20000119 ...
> Running access-extract.pl ...
> Running access-extract-urls.pl ...
> Generating /home/httpd/html/20000119.html ...
> Running access-summary.pl ...
> Wed Jan 19 10:54:01 EST 2000
> gzip: /var/log/squid/access.log.20000119.gz already exists; do you wish to
> overw
> rite (y or n)? y
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
>
> I goto view the html page, the page comes up with no statistics in.
>
> <>Webpage below (not formatted - only top bit)<>
>
> Squid Statistics for hotproxy:80
>
> ----------------------------------------------------------------------------
> ----
>
> Summary of Request Method Usage
> Summary of Protocol Usage
> Summary of Client Usage
> Summary of Server Usage
> Summary of URL Types
> Summary of URL Top-Level Domains
> Client Utilization
> Top 50 HTTP Requests
> Top 50 ICP Requests
> Top 50 CONNECT Requests
>
> ----------------------------------------------------------------------------
> ----
>
> Statistics from [Thu Jan 1 10:03:23 1970] to [Thu Jan 1 10:03:23 1970]
> Request Distribution, combined HTTP and ICP, per half hour Requests
>
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> <><>
> Notice: the date 1970, could this have a y2k problem? and it says that the
> data is from [Thu Jan 1 10:03:23 1970] to [Thu Jan 1 10:03:23 1970] that
> is like 0sec.. no wonder it cant find any statistics!! how can i fix
> this....
>
> please help me?
>
> Ben M
>
Ben,

Was there any data in the access.log file when you ran this - it asked
if you wanted to overwrite the file. Maybe it had no records in it. How
many requests showed up?

Wayne

-- 
Wayne Bastow - DBA - Central Coast Health Phone: 61 2 43203231
Email: wbastowATccahsDOThealthDOTnswDOTgovDOTau
Linux, the choice of a GNU generation Kernel 2.2.5-15  on a i686  
 "We are on the verge: Today our program proved Fermat's            
 next-to-last theorem."   -- Epigrams in Programming, ACM SIGPLAN   
 Sept. 1982
Received on Tue Jan 18 2000 - 18:05:26 MST

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