home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MaxAll - Maximus All Reports Generator v1.0
-
- Written and Copyright by Craig Allsop
-
-
-
-
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │░░ General Overview ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1 ░░│
- └─────────────────────────────────────────────────────────────────────────────┘
-
- 1.1 This utility is intended for use with Maximus 2.0/2.01 and a mailer,
- to generate today's callers, yesterday's callers, top callers, top
- downloaders (kb), top uploaders (kb), best ratio, worst ratio, usage
- graphs for the last week, month and quarter year, and some overall
- system statistics. I've designed this utility to run as fast as
- possible, on my system (a 386-33, multitasking with Desqview and
- Hyperdisk cache, all the reports with 600 users takes about 4 seconds,
- which isn't all that long.) The time taken to process is shown at the
- end of each run, if anyone is getting times of longer than 20-30
- seconds then something must be wrong, or you need a hardware upgrade.
-
- -> This is a public release, although I have done plenty of testing,
- there may still be problems that have not yet arisen. If you find
- something strange happening, then please let me know.
-
- Although I have been using this utility on my system for a few months
- now and everything is running smoothly, I will not take responsibility
- if this utility does not perform, fails or causes damage to anything
- else. Use it at your own risk.
-
- This utility maybe used by any Maximus SysOp.
-
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │░░ Notes & Key Items ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2 ░░│
- └─────────────────────────────────────────────────────────────────────────────┘
-
- 2.1 Special marks:
-
- -> A special note to be aware of.
-
- x.x A process number/point number/instruction step, to follow.
- These are used to make instructions easier to follow and so I
- can redirect your attention elsewhere if needed. Or if my
- document needs alteration/updating then you can direct ME to
- the closest position.
-
- 2.2 I assume that SysOps will be reading this document so I have written
- it accordingly. I also assume that you know how to operate your system
- in regards to the file system and the BBS system, its operation and
- files.
-
- -> I am no expert at writing documentation so if you find errors, or lack
- of information then please make me aware of them/it. I do not have
- time for perfect documentation, its not necessary as I'm sure you can
- get my drift. (hopefully)
-
- 2.3 MaxAll REQUIRES SHARE to be loaded! If it is not, then it will not
- operate correctly. (I'm not sure on what will happen without share, I
- haven't got time to test this. For those people with single line
- systems with no multitasker you maybe able to get away without share,
- but people with multiline systems will require it.)
-
- 2.4 MaxAll is aware of multinode operation, if MaxAll is already running
- in another task then it will wait until the other is finnished or
- timeout after a minute. Usually it will only take a few seconds to run
- anyway so I haven't had any problems under two lines. I can not test
- this so if anyone does have problems then let me know.
-
- If a user is online and looking at a report, and MaxAll is processing
- in another task, this report will be skipped if its not made avaliable
- within a few seconds. This doesn't affect the operation of MaxAll, and
- the report can be updated next time its executed.
-
- 2.5 The system stats report requires a day before it will be generated, as
- of course will the yesterday's callers.
-
- The worst ratio and best ratio reports are caculated on the assumption
- that a ratio is download/upload and that if uploads equal zero then a
- one is subsituted. Thus a user who has uploaded nothing and a user who
- has uploaded 1k but both downloaded say 200k will both have a 200:1
- ratio. Anyone object to this caculation method?
-
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │░░ Installation ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 3 ░░│
- └─────────────────────────────────────────────────────────────────────────────┘
-
- 3.1 It is assumed that you have extracted MaxAll into a tempory directory.
- So I would recommend a home directory of MaxAll\ off your Maximus
- directory be created and all the files placed in it.
-
- 3.2 Now so that the today's callers can display the caller's baud rate and
- node number, you will need a few additional dos variables in the batch
- file that drives the BBS or however you load up Maximus. The following
- batch commands to initilise two variables 'baud' and 'node' to
- approprate values for each call that comes in. Usually your can
- determine this from errorlevels returned from the mailer or the mailer
- might generate a batch file with arguments containing these values.
- These variables are then used by MaxAll for the today's callers.
-
- SET BAUD=?????
- SET NODE=??
-
- So simply put, when a call comes in, set BAUD to the baud rate of the
- incomming call, and NODE to the current node number for this call, or
- 1 for single line system. (NODE is a two digit number in HEX)
-
- 3.3 After Maximus is called and before the mailer is loaded again, you
- will need to do something similar to this: (Thus you can see what the
- variables are used for) The 'rtyu' tells MaxAll to generate reports,
- today's callers, yesterday's callers and the usage graphs every time.
-
- -> (replace 'cdd maxall' with approprate directory change for your system
- depending on where you placed the MaxAll files. I have assumed that
- MaxAll is "off" your Maximus directory, therefore, you will notice I
- use "..\" in front of arguments, this can be replaced with the full
- path to your Maximus directory if you do not want MaxAll's files off
- the Maximus directory.)
-
- cdd maxall
- maxall rtyu ..\lastus%node.bbs ..\user.bbs ..\misc\ -n%node -b%baud
-
- Required Arguments:
-
- rtyu Generate these reports: Reports, Today's,
- Yesterday's and Usage Graphs. NOTE: For
- multinode systems which have local node(s) or
- if a node you do NOT wish to have usage time
- added to the useage reports then add an "l" to
- this argument.
-
- ..\lastus%node.bbs Path and name to LASTUSxx.BBS - This reads the
- last user called. Can be replaced with
- "..\lastus01.bbs" for single line systems.
-
- ..\user.bbs Path and name to USER.BBS - Maximus's user
- file.
-
- ..\misc\ Path with trailing slash, the directory you
- wish the reports to be generated in.
-
- -n%node Current node number MaxAll is running on. (Can
- be replaced with "-n01" for single line
- systems.)
-
- Optional Arguments:
-
- -b%baud Current caller's baud rate. This is required
- for displaying the user's baud rate on the
- today's callers reports.
-
- -> OS/2 may require environment variables with % on both ends, ie.
-
- cdd maxall
- maxall rtyu ..\lastus%node%.bbs ..\user.bbs ..\misc\ -n%node% -b%baud%
-
- -> For speedy return to the mailer, only use 't' here, this will save the
- caller's details and only generate a today's callers list, then in a
- maintenance event, you can generate the rest of the reports. Ie. the
- following after Maximus:
-
- cdd maxall
- maxall t \lastus%node.bbs \user.bbs f:\misc\ -n%node -b%baud
-
- And this in a daily maintenance: (Notice the 'l' used for the last
- user file, MaxAll ignores this as there is no last caller!)
-
- cdd maxall
- maxall rtyu l \user.bbs f:\misc\ -n%node -b%baud
-
- 3.4 You will then need to create menu options for the reports, the
- following is an example (cut from mine accually):
-
- Display_File F:\Misc\Ma_calls Disgrace "1Top Callers"
- Display_File F:\Misc\Ma_brati Disgrace "2Best File Ratio"
- Display_File F:\Misc\Ma_wrati Disgrace "3Worst File Ratio"
- Display_File F:\Misc\Ma_kdls Disgrace "4Top Kb Downloaded"
- Display_File F:\Misc\Ma_kuls Disgrace "5Top Kb Uploaded"
- Display_File F:\Misc\Ma_sys Disgrace "6System Stats"
- Display_File F:\Misc\Ma_uweek Disgrace "7Weekly Usage"
- Display_File F:\Misc\Ma_umon Disgrace "8Monthly Usage"
- Display_File F:\Misc\Ma_uquar Disgrace "9Quartly Usage"
- Display_File F:\Misc\Ma_today Disgrace "Today's Callers"
- Display_File F:\Misc\Ma_yeday Disgrace "Yesterday's"
-
- After these options are in your MENUS.CTL, run SILT to update the
- menus and everything should be done.
-
- 3.5 The batch file RUN.BAT is useful for updating the reports manually.
- You can now run this batch file to generate the reports.
-
- *3.6 MaxAll will read the CMOS date & time, so hopefully this clock will
- return the correct local time.
-
- 3.7 If anyone can not work out my instructions or has problems installing
- this utility please drop me a message and I'll try and sort it out for
- you. See below for contact.
-
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │░░ Known Problems ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 4 ░░│
- └─────────────────────────────────────────────────────────────────────────────┘
-
- 4.1 Time banks may cause my program to miscaculate the time spent online
- by a user as these programs alter the lastcallers record. It maybe
- possible to run my program before you run a time bank's maintenance to
- solve this problem. I don't have the time to find a suitable solution
- for this. Also the Kb downloaded on users call maybe incorrect if a
- time bank supports saving of Kb's. The OnFor and Kbdn items on the
- today's callers configuration maybe left out of the report if you get
- this problem.
-
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │░░ Credits, Contacts, Etc. ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 5 ░░│
- └─────────────────────────────────────────────────────────────────────────────┘
-
- 5.1 MaxAll (Maximus All Reports Generator) is Copyright 1993 by Craig
- Allsop.
-
- Maximus is Copyright by Scott Dudley.
-
- 5.2 The latest version of MaxAll is file requestable at 61:6700/180
- Worldnet or 3:640/225 Fidonet (Australia +61-7-344-3621) under the
- name "MAXALL" or beta versions under the name "MAXALLB". Notification
- of releases will take place in BBS_DOORS & MUFFIN. Please note that
- currently speed is limited to 2400.
-
- 5.3 If anyone has suggestions, comments, bug reports, improvement ideas
- etc. then please direct them to Craig Allsop in forums BBS_DOORS
- (worldnet) or MUFFIN - Maximus Support/ MAXDEV - Maximus Developers
- (fidonet).
-
-
- -end-
-