home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
WILDCAT
/
CATS50AU.ZIP
/
CATSTAT.DOC
< prev
next >
Wrap
Text File
|
1994-02-19
|
10KB
|
232 lines
---------------------------------------------------------------------------
CATSTAT 5.0a (c)
Wildcat! Activity Log Viewer/Analyzer
Copyright (c) 1992 by Alan Monaghan
All Rights Reserved
02/15/1994
Author: Alan G. Monaghan
---------------------------------------------------------------------------
Purpose
-------
Catstat was written out of my own need for a tool to assist with creating
statistics from the activity log of my BBS. I wanted something also that
would list the names of the doors and the number of times they each were
entered.
I followed the format of the WCPRO utilities output, but cut it down a bit
to the things I wanted to know quickly. That is why they look so similar.
Instructions
------------
1) Create a subdirectory for Catstat (MD T:\CATSTAT). Catstat must be run
from this subdirectory since it does not look down the PATH variable
for its configuration files.
2) Copy all of the files from this Zip into that SubDirectory.
3) Create a file called Catstat.cfg using the exact form below without the
comments.
4) Delete the CatStat.His file that comes w/ this copy.
5) Run Catstat /i from the Command Line to create a fresh copy of the
History File
6) Set up Catstat to run from a batch file after each call.
7) Insert a Line in your Nightly Maintenance Saying : Catstat /M
(*Note*)
Because of the History file that is kept, some stats may need to be inserted
or edited to show the true numbers. What I suggest is that you create a config
file that temporarily points to an Old Activity log with as much history as you
have. Run the Catstat /M and this will insert these into the calls per hour and
the calls per day variables. You can then edit the CatStat.His to reflect the
actual numbers. Please remember, the calls per hour grand total much match the
calls per day grand total or the information will be useless.
That is all there is to it. Now for some of the small details.
I have not included any tests for Today's date in the code. I am using
Lopper v3.0 to cut my logs down to size each night with the Maintenance
batch file that runs once a night.
The code also assumes that all of the Activity Logs exist and doesn't test
for their existence, it just gives an error and bombs.
The maximum number of Nodes is 255.
The maximum number of Doors is 100.
This version is only compatible with Wildcat v3.xx and Greater
An example of the Catstat.cfg
----------------------------
The Kingdom of Cormac mac Airt <- Can be up to 63 characters in Length, Your BBs
-- Note: No Space Here -- Name, an ad, really anything you want..
3 <- The Number of Nodes Present
T:\WC30\ACTIVITY.001 <- The name and path to the 1st node's Activity Log
T:\WC30\ACTIVITY.002
T:\WC30\ACTIVITY.003
T:\WC30\WCPRO.BBS <- The name and full path of the OutPut file
23 <- The Total Number of Doors
Add a Quote <- The Names of the Doors in the Order they
Esterian Conquest IV appear in the doors.bbs
Esterian Conquest - New - <- Door3
Esterian Conquest III <- Door4
Global Wars <- Door5
The Pit "
Robo Wars "
STS- Race for the Stars "
Stack' Em "
Sub Attack "
Super SlotMachine "
SinBaud the Sailor "
TW 2002 "
Tank Command "
Yankee Trader "
Advanced XORU (d&d) "
Bat Guy "
Stooge Mania "
HangMan Word Game "
Jail Break "
Add to the Story Here !!! "
Evidence Murder Mystery "
The Simpsons Door "
An example of the way to call it after each call
------------------------------------------------
Echo Creating the System Statistics Screen WCPRO.BBS
t:
cd \wc30\catstat
catstat
An example of the way to call it each night
------------------------------------------------
..... Your other programs ....
:-------------------------------------
: CatStat's Nightly Maintenance Run
:-------------------------------------
t:
cd \wc30
catstat /m
lopper /L1 /D1
.... etc....
An example of the Catstat.his
----------------------------
The Kingdom of Cormac mac Airt <- The Name of The BBS (From 1 to 36 Characters in Length)
Alan <- The Sysop's First Name
Monaghan <- The Sysop's Last Name
01-01-1989 <- Date of the Beginning of the Stats (Suggest this format for Looks)
2481 <- Total Uploads
57470 <- Total Downloads
103 <- Total of Sunday Calls <---
37 <- Total of Monday Calls |
38 <- Total of Tuesday Calls |
64 <- Total of Wednesday Calls |- All of these must add
82 <- Total of Thursday Calls | up to all of the following
88 <- Total of Friday Calls | if the stats are to match at all.
93 <- Total of Saturday Calls <---
30 <- Total of 12 am Calls
14 <- Total of 1 am Calls
12 <- Total of 2 am Calls
6 <- Total of 3 am Calls
3 <- Total of 4 am Calls
7 <- Total of 5 am Calls
8 <- Total of 6 am Calls
16 <- Total of 7 am Calls
22 <- Total of 8 am Calls
24 <- Total of 9 am Calls
29 <- Total of 10 am Calls
30 <- Total of 11 am Calls
25 <- Total of 12 pm Calls
23 <- Total of 1 pm Calls
21 <- Total of 2 pm Calls
25 <- Total of 3 pm Calls
28 <- Total of 4 pm Calls
24 <- Total of 5 pm Calls
24 <- Total of 6 pm Calls
22 <- Total of 7 pm Calls
23 <- Total of 8 pm Calls
25 <- Total of 9 pm Calls
35 <- Total of 10 pm Calls
29 <- Total of 11 pm Calls
Liability
---------
Catstat has been tested on multiple machines using many different
configurations and no problems have occurred. However, if a problem does
arise due to CatStat, I cannot be held responsible. Use at your own risk.
Distribution and Registration
-----------------------------
Catstat may be freely distributed only as the following unaltered files:
CATSTAT.EXE <- The Main Executable
CATSTAT.CFG <- The Configuration File
CATSTAT.HIS <- History file (this must be deleted before you start!)
CATSTAT.DOC <- What you are viewing now
REGISTER.DOC <- If you wish to register
WCPRO.BBS <- An Example of the Output
-------------------------------------------
To Register Catstat, please send $10 to:
Alan G. Monaghan
Three Paws Productions
6501 Stewart Road
Suite H-1
Cincinnati, OH 45236
-------------------------------------------
See REGISTER.DOC
Contacting the Author
---------------------
I can be reached for comments, questions, suggestions, complaints, etc., at
the following EMAIL boxes:
Mustang BBS (ALAN MONAGHAN) - mail checked weekly
The Kingdom of Cormac mac Airt - I am the SysOp
(513) 745-0965 FidoNet Address - (1:108/180)
(513) 745-9043 FidoNet Address - (1:108/2) NetMail Only!
2.0b Rev: Fixed the problem of erasing the Activity logs every so often
and stopping if it doesn't find a file.
2.0d Rev: Fixed the Upload problem reading when and Upload too Place. A change
in WC v3.02 made this change necessary.
3.0a Rev: Added color, background, and BBS Name to OutPut...
4.0a Rev: Added a History Screen. Added command line input for the setup and
maintenance runs. Changed the Output format just slightly. Made the
Protocol screen dynamic. Also added a TomCat Stats Screen and
added the option that if there were no downloads or uploads, then
there would be no protocol screen generated. The same is true with
the TomCat Screen. If there is no activity w/ Tomcat, that screen
will not be produced.
5.0a Rev: Added RIP Detection and fixed the infinite loop problem with the
TomCat Section.