fwgstat
v 0.41. It is heavily based on the much better
written xferstats, which is packaged with the Wuarchive FTP daemon.
This version is capable of parsing the usage files for most of the public access protocols in use today: FTP, Gopher, WAIS, the Plexus, NCSA v1.1, and Common log formats of HTTP, and writing a nice usage report from them.
Fwgstat can also summarize the usage of any number of these protocols in a single report.
To install the program, edit the perl script to specify the locations of the log files for each daemon and the location of the accompanying country-codes file. You must also add the library file 'mygetopts.pl' to your Perl library directory.
-fUse for the log file -r include real users -a include anonymous users -h include report on hourly traffic -d include report on domain traffic -t report on total traffic by section -D report only on traffic from -l Depth of path detail for sections -s Section to report on, For example: -s /pub will report only on paths under /pub (left in for backward compatibility) -m Process multiple file types into one report -R do reverse look-ups on numeric IP addresses
-S Process the syslog version of log (only -p supported) -gProcess a Gopher file, followed by an optional section -w Process an old WAIS (8-b-5) file, followed by an optional section -W Process freeWAIS (only 0.3?) file, followed by an optional section -C Process a "Common log format" HTTPD file (>NCSA 1.2) -n Process a old-style NCSA HTTPD file, followed by an
If you have any suggestions, bug reports, fixes, or enhancements, send them to jem@sunsite.unc.edu.
Jonathan Magid, jem@sunsite.unc.edu