#! /bin/csh -f set usage = "$0 PLOTFILE" # Plots the by-day log summary PLOTFILE, # on the screen and as an ".eps" file. # The lines of this file must have the format # DAY NOTHER NGET TOTBYTES NERRORS # where # DAY is the day number, # NGET is the number of regular "GET file" accesses # TOTBYTES is the total bytes in those accesses # NOTHER is the number of other entries in the access log # NERRORS is the number of entries in the error log if ( $#argv != 1) then echo "usage: $usage" exit 1 endif set PLT = "$1" set EPS = "${PLT:r}.eps" set LIB = "${STOLFIHOME}/programs/csh/http-log-tools" gnuplot <