Short: Parses NCSA/CERN httpd logfile Author: Armin Obersteiner and Tomas Willis Uploader: tomas cae wisc edu (Tomas Willis) Type: comm/tcp Version: 1.4 Requires: AmiTCP 4.0 or above Architecture: m68k-amigaos > httplog.c > > (c) Armin Obersteiner > > Parsing ncsa/cern httpd logfile > > USAGE: httplog [-s ] [-l] > > - httpd > -l - long: country statistics > -lt - long: time statistics > -s - search for Armin Obersteiner wrote a nice httpd log parser. I played with it, to suit my fancy. First of all, I found that there were many numeric addresses in my logfiles. That made for a large number of unidentified domains when run with the -l flag. I didn't like that, so I invoked AmiTCP to find the name that goes with the missing address. It doesn't always work, if the local DNS server cannot find a name to go with an IP number, but when the server is helpful, it does work. Next, I added all of the countries to be found in the ISO 3166 document. Then, I made the output for -l sorted by increasing number of hits. Compiles under SAS/C 6.56 (sc link httplog.c) Requires AmiTCP >=4.0 This distribution include source, an optimized 68030/68881 version and a plain 68000/IEEE math version. ---- ciao, tomas willis