🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.vax
Article #3841

Computing Disk Usage

#3841
From: stansbury%mwvms
Date: Thu, 19 Mar 1987 15:55
41 lines
2459 bytes
--------
I need some information on computing the amount of disk space users are
using on our system.
     
Using several ways to compute disk usage, these are the figures I came up
with for a particular user (note: the files for this user are pretty
static - the user did not login while I was obtaining these figures):
     
    944 blocks from the DISKQUOTA utility
    860 blocks allocated - from DIRECTORY/SIZE=ALL/BY_OWNER=[?] disk:[000000...]
    579 blocks used - from DIRECTORY/SIZE=ALL/BY_OWNER=[?] disk:[000000...]
    668 blocks as reported by an accounting system we are testing
     
The documentation for the accounting system we are testing says it reads
the INDEXF.SYS file and gets the number of blocks for each file on that
disk owned by that user.
     
Questions:
     
1.  Why the difference between the DISKQUOTA utility and the number of
    blocks allocated (as shown by the DIRECTORY command)?
     
    I called the DEC 800 number in Colorado and asked them this question.
    They said the DISKQUOTA utility doesn't include lost files or the file
    header blocks for each file owned by that user. The DIRECTORY command
    includes the file header blocks, but not lost files. I did an ANAL/DISK
    on the disk, and it didn't show any lost files.
     
2.  Why would there be a difference in the information in the INDEXF.SYS file
    and what DISKQUOTA and DIRECTORY show?  (I am assuming the accounting
    system we are testing is correct - maybe a bad assumption though).
     
For those of you that charge users for using disk space on your machine, on
what figures do you base your disk space usage?  With the accounting system
we have been using for some time (not the one we are testing), we have been
using the figures from the DISKQUOTA utility.
     
Thanks,
Jack Stansbury
     
ARPA: jws@mitre
Technical Details
Message-ID: <8703191555.AA02594@mitre.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!MITRE.ARPA!stansbury%mwvms

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!MITRE.ARPA!stansbury%mwvms
From: stansbury%mwvms@MITRE.ARPA
Newsgroups: mod.computers.vax
Subject: Computing Disk Usage
Message-ID: <8703191555.AA02594@mitre.ARPA>
Date: Thu, 19-Mar-87 10:55:22 EST
Article-I.D.: mitre.8703191555.AA02594
Posted: Thu Mar 19 10:55:22 1987
Date-Received: Sat, 21-Mar-87 09:11:07 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The MITRE Corp., Washington, D.C.
Lines: 41
Approved: info-vax@sri-kl.arpa