sbu-1.0
By Steve Coile <scoile@
This Perl program will separate combined log files into separate log files on a per-
In order to make use of this program, you will need to have Perl 4 or higher installed. Red Hat Linux 4 systems should be using the perl-
In order to use this program, download the following file and place it in the /usr/
http://www.patriot.net /users/ scoile/ isp- redhat/ log- processing/ sbu- 1.0
If you have Lynx installed, the following commands will download the file and place it in the proper location:
SOURCE="http://patriot.net/~scoile/isp-redhat/log-processing/sbu-1.0"
TARGET="/usr/local/bin/sbu"
lynx -source "$SOURCE" > "$TARGET"
After placing the file in /usr/
chmd a+rx /usr/local/bin/sbu
No configuration is necessary.
sbu accepts a log file via standard input, locates any username reference in each line, and outputs each line to a separate log file specific to the user named. Usernames are recognized by their positions within the log entry. The sbu utility recognizes several log file formats in common use and knows where to find usernames within them. Log file formats may be selected with the "-f" switch.
User-
Log entries that do not refer to a particular user are printed to standard output and otherwise ignored.
Additional information on command line options is available by invoking sbu with the "-h" switch.
PatriotNet offers it's user the ability to publish their Web pages on our Web servers. However, we limit the number of hits our users' Web pages may get per month. If a user's Web pages receive more hits than the monthly limit, we charge the user an additional fee.
This policy requires user-
sbu started as split-