On 8 Sep 1996, Richard Huveneers wrote:
> Hello all,
>
> I've performed a major upgrade to my Squid logfile analysis script. Here are
> a few of the new features:
>
> * Supports both Squid 1.0 and Squid 1.1 native logfile format
> * Shows the most popular sites, both by requests and traffic
> * Neighbor, method and object type statistics
> * A weekly report, for those who have diskspace and CPU time to burn, like me.
> * Shows the timespan of the logfile, and the analysis time
> * Shows the hitrate; both for requests and traffic
>
This awk script sux bit:
gawk: fatal error: division by zero attempted
input line number 13025, file `logs/access.log'
source line number 203, file `proxy_stats.gawk'
We are running the latest version of Gawk and Squid1.0.12.
Line 13025 is the last line in the access.log file.
Line 203 of the script: printf "%5.1f%% ", xr[c]/tr[c]*100 | filter
Andreas Jung
Received on Wed Sep 11 1996 - 22:29:56 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:59 MST