home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / vmsnet / sysmgt / 347 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.3 KB

  1. Xref: sparky vmsnet.sysmgt:347 comp.os.vms:18073
  2. Path: sparky!uunet!stanford.edu!agate!spool.mu.edu!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!BUDSGA.BU.EDU
  3. From: TEWKSBURY@BUDSGA.BU.EDU (Chip Tewksbury)
  4. Newsgroups: vmsnet.sysmgt,comp.os.vms
  5. Subject: Re: DECps Accounting Chargeback question/gripes
  6. Message-ID: <102306@bu.edu>
  7. Date: 17 Nov 92 16:01:07 GMT
  8. References: <101579@bu.edu>
  9. Sender: news@bu.edu
  10. Followup-To: vmsnet.sysmgt
  11. Organization: BOSTON UNIVERSITY, OFFICE OF INFORMATION TECHNOLOGY
  12. Lines: 36
  13. X-News-Reader: VMS NEWS 1.24
  14. In-Reply-To: TEWKSBURY@BUDSGA.BU.EDU's message of 11 Nov 92 22:06:15 GMT
  15.  
  16. In <101579@bu.edu> TEWKSBURY@BUDSGA.BU.EDU writes:
  17. > ...
  18. >  A.  Disk Usage:   Let's assume that you want to charge in units of
  19. >  blocks/day and that your charge period is one month. 
  20. >    In order to get disk usage, you need to generate an ANALYZE/DISK/USAGE
  21. >    report for each day and each disk and then append these 30+ reports to
  22. >    a single file for use by the ADVISE... command. 
  23. > ...
  24. >    I have a really rudimentary disk usage accounting program 
  25. > ...(Too bad I can't tell it to use my routine!:-)
  26. > .... 
  27.  
  28.       I *can* tell it to use my routine.  :-)  If anyone is interested in
  29.       the  programs which I developed, I'll gladly send them to you as soon
  30.       as I "clean" them a bit.  Here's a brief synopsis of what these
  31.       programs do:
  32.  
  33.            1)  A diskquota macro-32 program:  This program is designed to run
  34.            once per day (if that is the sample period of your charging base)
  35.            on each of your disks on which you wish to account for disk
  36.            usage.  This program creates an indexed file of UIC/total_quota
  37.            records on each disk.
  38.  
  39.            2)  A USAGE.DAT builder program.  This program converts each of
  40.            the files produced in "1)" into a USAGE.DAT format file.
  41.  
  42.       Then all you do is append the files produced by "2)" into a single
  43.       file which can be supplied to ADVISE CHARG as the disk usage file.
  44.  
  45.       The total size of the generated files on a 2-volume volume set with
  46.       approximately 625 uic/quota records is only 70 blocks for this monthly
  47.       data -- compare that to approximately 520,000 blocks for the same
  48.       information using DEC's method!
  49.  
  50.                   Chip Tewksbury.
  51.