#!/bin/sh # many-sites-private-logs, Copyright 2000 Boutell.Com, Inc. # # EXAMPLE SCRIPT FOR ANALYZING MANY WEB SERVERS ON # A NIGHTLY BASIS, WITH PRIVATE LOG FILES FOR EACH # SITE. LOG ROTATION AND LOG ARCHIVING ARE PROVIDED. # # YOU *ABSOLUTELY WILL NEED TO MODIFY THIS SCRIPT.* Please # read it carefully. # # This Unix shell script analyzes many web sites with # individual private log files, and then proceeds to compress # and archive the log data. The script should be # invoked as follows, with no arguments: # # many-sites-private-logs # # The script assumes that the single-site-private-log # script is present and correctly configured in the # directory changed to in step one, below. Please read # and, if necessary, edit that script before using this one. # # It is typical to run this script late at night, using # a crontab entry. # STEP ONE # Run single-site-private-log one or more times for # individual sites. REPLACE THE CLIENT NAMES BELOW # with the names of YOUR web servers. Add or remove # lines as needed! ./single-site-private-log client1 ./single-site-private-log client2 ./single-site-private-log client3 ./single-site-private-log client4 # That's it! All of the real work is done in # single-site-private-log. PLEASE READ AND, IF # NECESSARY, MODIFY THAT SCRIPT TO MEET YOUR NEEDS.