home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume1 / 8708 / 7 / README < prev    next >
Encoding:
Text File  |  1990-07-13  |  1.7 KB  |  43 lines

  1. This is a package which lets you keep keep track of the costs incurred by
  2. uucp.  It provides a command (uucost) which gives a screen display of the
  3. costs incurred so far this month and so far today.  Additionally, there is
  4. a script which is run every night to capture today's data.  There is also
  5. a script to be run every month which sends mail to the uucp account giving 
  6. a summary of this month's usage.
  7.  
  8. This is intended for use with HDB uucp, but could be altered for others.  
  9. Modifications for links whose costs vary depending on the time of the 
  10. connection will probably be made by the author in the future.  
  11.  
  12. The files and their contents are as follows:
  13.  
  14. README        This file.
  15. Makefile    The file used to build the package.
  16. cost.log    A log file that will be created (as null) at installation.
  17. costs        A file containing the cost to originate a connection to 
  18.         each site you call.  Documentation within the file describe
  19.         the format.
  20. form_cost.c    Formats the output of scan_cost for human reading.
  21. scan_cost.c    Scans the output of a uulog to extract relevant info.
  22. uucost        A script file for terminal display of current cost data.
  23. uucost.da    A daily script to update cost.log.
  24. uucost.mo    A monthly script to send mail on previous month's usage.
  25.  
  26. The package is set up to run in the directory /usr/lib/uucp/uucost.
  27. After extracting the package:
  28.  
  29. 1) make
  30. 2) make install
  31. 3) edit costs file, adding costs for machines you call
  32. 4) type "uucost", to verify proper operation
  33. 5) put a call to the shell script uucost.da at the beginning of uudemon.cleanu
  34. 6) add a cron entry to run uucost.mo on the 1st of the month, after the 
  35.    previous night's uucleanup has completed
  36.  
  37. If you have any problems, send me e-mail.
  38.  
  39.  
  40. Jack Bonn
  41. Software Labs, Ltd.
  42. seismo!uunet!swlabs!jack
  43.