home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
USAGE18.ZIP
/
USAGE.DOC
< prev
next >
Wrap
Text File
|
1992-09-28
|
5KB
|
123 lines
USAGE -- Reads one or more Maximus or Binkley logs and generates a usage graph
Version 1.8 (9/28/92)
Written by Bob Quinlan of Austin, Texas, USA
Sysop of Red October at 512-834-2593 (1:382/111)
Copyright 1992 by Bob Quinlan
Compatible with Maximus 2.00 and 2.01 and BinkleyTerm 2.55 and 2.56
This program reads one or more Maximus or Binkley logs and generates a
BBS-format usage graph based on the data. By default it will read
MAX.LOG in the current directory and write USAGE.BBS. The following
switches allow you to configure it for your system and preferences:
/Cx=y Set color number 'x' to Avatar color 'y'. 'x' values
mean the following:
0 = default color
1 = title
2 = frame
3 = reference text (%)
4 = reference lines (%)
5 = hour text
6 = hour dots (odd hour values)
7 = hour lines
8 = data bars
9 = enter prompt
Avatar color codes are given in two-digit hexadecimal.
The first digit sets the background color (0-7 only) and
the second digit sets the foreground color (0-F). Each
digit corresponds to the following colors:
0 = black
1 = blue
2 = green
3 = cyan
4 = red
5 = magenta
6 = brown
7 = white
8 = grey
9 = bright blue
A = bright green
B = bright cyan
C = bright red
D = bright magenta
E = yellow
F = bright white
Example: To set the data bars to yellow on blue you
would use the switch /C8=1E.
/Lfile Log file to process. Note that the /L parameter can be
used more than once to specify several logs. This
feature is particularly useful if you have multiple
lines with separate logs.
/M Military time. Display the hours as 0-23.
/Ttitle Title for graph. You may want to supply multiple word
values for title. You can separate the words by spaces
or by underscores (which will be replaced by spaces).
For example, both of these lines would produce the same
results:
usage /lmax.log /tRed October Usage
usage /lmax.log /tRed_October_Usage
/Ufile The file to which the usage graph will be written. The
.BBS extension is not automatically added.
/V Verbose diagnostic mode. Prints out each log entry that
triggers a starting or ending time. Prints the elapsed
time between each start/end pair. Not recommended for
normal use.
If you use WFC within Maximus feed USAGE the Maximus log. If you use
Binkley to answer the phone feed it the Binkley log. You can mix log
types if you have lines with different configurations.
As an example, my system has two lines, one running Binkley and the
other running Maximus with WFC. I start a new log every month and keep
the previous month's around as well. Here is how I generate my overall
usage graph:
usage /lbink01l.old /lbink01.log /lmax02l.old /lmax02.log
/tRed October Overall Usage
(That's all one line in my batch file.)
I have the Log Mode in Maximus set to Verbose and the LogLevel in
Binkley set to 5. If you use other settings USAGE may not register all
of your system's activity.
USAGE returns ERRORLEVEL 0 after a successful run. ERRORLEVEL 1 is
returned to indicate an error.
NOTICE: You may use, copy, and distribute this program freely as long
as you insure that both the executable and the documentation (.DOC)
files are included in the distribution package. The source code does
not need to be included. You may modify this program and document, so
long as reasonable credit is given to the original author if a
substantial portion of the original remains intact. The author is not
responsible for any losses which may occur either directly or indirectly
as a result of using this program.
HISTORY:
Version 1.8 (8/28/92) -- Added the /M switch for military time.
Version 1.7 (8/25/92) -- Added the ability to pass multiple-word
parameters using spaces.
Version 1.6 (6/03/92) -- Adjusted graph to start at midnight.
Version 1.5 (5/29/92) -- Improved Binkley support. Added verbose
diagnostic mode.
Version 1.4 (5/27/92) -- Allow custom color selections.
Version 1.3 (5/26/92) -- Removed event and keyboard switches.
Added support for Binkley logs.
Added log file sharing (again).
Version 1.2 (5/14/92) -- Removed log file sharing due to compiler bug.
Version 1.1 (5/13/92) -- Added log file sharing.
Version 1.0 (4/22/92) -- Original release. Written in Borland C.