fwgstat: version 0.40

This is fwgstat v 0.40. It is heavily based on the much better written xferstats, which is packaged with the Wuarchive FTP daemon. Right now the code is a real mess- in the next version (whenever that happens), I hope to restructure it so it that it is actually (gasp!) readable and maintainable.

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.


These are the options which fwgstat 0.4 supports:

OPTIONS:

	-f 	Use  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

File formats supported:

	-S		Process the syslog version of log (only -p supported)
	-g 
Process a Gopher file, followed by an optional section -w
Process a WAIS 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