home *** CD-ROM | disk | FTP | other *** search
- This is a package which lets you keep keep track of the costs incurred by
- uucp. It provides a command (uucost) which gives a screen display of the
- costs incurred so far this month and so far today. Additionally, there is
- a script which is run every night to capture today's data. There is also
- a script to be run every month which sends mail to the uucp account giving
- a summary of this month's usage.
-
- This is intended for use with HDB uucp, but could be altered for others.
- Modifications for links whose costs vary depending on the time of the
- connection will probably be made by the author in the future.
-
- The files and their contents are as follows:
-
- README This file.
- Makefile The file used to build the package.
- cost.log A log file that will be created (as null) at installation.
- costs A file containing the cost to originate a connection to
- each site you call. Documentation within the file describe
- the format.
- form_cost.c Formats the output of scan_cost for human reading.
- scan_cost.c Scans the output of a uulog to extract relevant info.
- uucost A script file for terminal display of current cost data.
- uucost.da A daily script to update cost.log.
- uucost.mo A monthly script to send mail on previous month's usage.
-
- The package is set up to run in the directory /usr/lib/uucp/uucost.
- After extracting the package:
-
- 1) make
- 2) make install
- 3) edit costs file, adding costs for machines you call
- 4) type "uucost", to verify proper operation
- 5) put a call to the shell script uucost.da at the beginning of uudemon.cleanu
- 6) add a cron entry to run uucost.mo on the 1st of the month, after the
- previous night's uucleanup has completed
-
- If you have any problems, send me e-mail.
-
-
- Jack Bonn
- Software Labs, Ltd.
- seismo!uunet!swlabs!jack
-