Article View: vmsnet.sysmgt
Article #89Re: DECps Accounting Chargeback question/gripes
From: Chip Tewksbury
Date: Tue, 17 Nov 1992 16:01
Date: Tue, 17 Nov 1992 16:01
36 lines
2336 bytes
2336 bytes
In <101579@bu.edu> TEWKSBURY@BUDSGA.BU.EDU writes:
> ...
> A. Disk Usage: Let's assume that you want to charge in units of
> blocks/day and that your charge period is one month.
>
> In order to get disk usage, you need to generate an ANALYZE/DISK/USAGE
> report for each day and each disk and then append these 30+ reports to
> a single file for use by the ADVISE... command.
> ...
> I have a really rudimentary disk usage accounting program
> ...(Too bad I can't tell it to use my routine!:-)
> ....
I *can* tell it to use my routine. :-) If anyone is interested in
the programs which I developed, I'll gladly send them to you as soon
as I "clean" them a bit. Here's a brief synopsis of what these
programs do:
1) A diskquota macro-32 program: This program is designed to run
once per day (if that is the sample period of your charging base)
on each of your disks on which you wish to account for disk
usage. This program creates an indexed file of UIC/total_quota
records on each disk.
2) A USAGE.DAT builder program. This program converts each of
the files produced in "1)" into a USAGE.DAT format file.
Then all you do is append the files produced by "2)" into a single
file which can be supplied to ADVISE CHARG as the disk usage file.
The total size of the generated files on a 2-volume volume set with
approximately 625 uic/quota records is only 70 blocks for this monthly
data -- compare that to approximately 520,000 blocks for the same
information using DEC's method!
Chip Tewksbury.
Technical Details
Message-ID:
<102306@bu.edu>Path:
arc1-ca.pugleaf.net!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.EDUReferences:
<101579@bu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 From: TEWKSBURY@BUDSGA.BU.EDU (Chip Tewksbury) Newsgroups: vmsnet.sysmgt,comp.os.vms Subject: Re: DECps Accounting Chargeback question/gripes Message-ID: <102306@bu.edu> Date: 17 Nov 92 16:01:07 GMT References: <101579@bu.edu> Sender: news@bu.edu Followup-To: vmsnet.sysmgt Organization: BOSTON UNIVERSITY, OFFICE OF INFORMATION TECHNOLOGY Lines: 36 X-News-Reader: VMS NEWS 1.24 In-Reply-To: TEWKSBURY@BUDSGA.BU.EDU's message of 11 Nov 92 22:06:15 GMT