home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / utilities / ac / !Help next >
Encoding:
Text File  |  1991-09-11  |  2.1 KB  |  65 lines

  1. ac - Archimedes system usage accounting utility               (c)  Jason O'Broin
  2. Version 1.01                                              Last Update : 11/09/91
  3.  
  4. ac is a system usage accounting program. It works by storing the time and date
  5. whenever the computer is switched on or off so that the total time used can
  6. be calculated.
  7.  
  8. To achieve this, the command ac -n must be added to the boot sequence and
  9. the command ac -f added to the shutdown sequence. As as result, this utility
  10. pretty much requires a hard disk and that you use the desktop.
  11.  
  12. For switching off, I recommend you use the utility !ShutDown (no idea who
  13. wrote this, but it's pd). Putting ac -f in the !Run file of this utility
  14. just before the run <shutdown$dir>.!RunImage line will do the trick.
  15.  
  16. The utility also requies an operating system variable <ac$dir> to be setup
  17. to point to a directory where the file 'wtmp' can be stored. This file
  18. contains all the accounting information.
  19.  
  20. To create the 'wtmp' file and start accounting, type ac -r. This will also
  21. store the time and date when the file was created.
  22.  
  23. To display the amount of time used, *ac by itself may be used. However, using
  24. the option -p will display details of every entry in the file as well as the
  25. total time used.
  26.  
  27. However, this file will grow without bounds if not periodically checked. The
  28. -t option will tidy the file. This counts the total time used to date, and
  29. stores this at the start of the file after the creation information. The
  30. file is also reduced to contain just these two entries.
  31.  
  32.  
  33. Update History
  34. --------------
  35.  
  36.  
  37. Version 1.01
  38. ------------
  39.  
  40. First completed version.
  41.  
  42.  
  43. Known bugs : 
  44.  
  45. None
  46.  
  47.  
  48. Any problems/improvements etc. contact :
  49.  
  50.                         Jason O'Broin
  51.                         31 High Street
  52.                         Brampton
  53.                         Cambs
  54.                         PE18 8TG
  55.  
  56.                         (0480) 453376
  57.  
  58. or email to :
  59.  
  60.                         J.P.O'Broin@uk.ac.durham
  61.                         (drop the ' if it causes problems)
  62.  
  63.  
  64.                                                     Jason O'Broin, 11/09/91
  65.