1 02/27/85 reset_disk_meters
 2 
 3 Syntax as a command:  reset_disk_meters {path} {-control_arg}
 4 
 5 
 6 Function:  subtracts the time-page-product (tpp) for each directory in
 7 the Multics hierarchy listed in disk_stat from the tpp integrator of
 8 the directory itself.  This operation is done once each month after
 9 users have been billed for disk usage.  Privileged entry points in the
10 hphcs_ gate are used to do the work.  A comment is printed if the
11 branch does not exist or a negative tpp would result, but the program
12 continues.
13 
14 
15 Arguments:
16 path
17    is the pathname of the disk_stat segment containing the usage values
18    to be subtracted from the tpp integrators.  The default is the
19    segment disk_stat in the working directory.
20 
21 
22 Control arguments:
23 -brief, -bf
24    specifies that the user is not to be informed when it is necessary
25    to force access to a directory to reset its tpp.
26 
27 
28 Notes:  This command forces access to directories, if necessary, and
29 removes the access when finished.  It reports when it must do this,
30 unless the -brief control argument is given, and it always reports if
31 unable to force access.
32 
33 After resetting all of the tpps, it zeros the per-project disk usage
34 figures in the segment projfile, in the working directory.  (This
35 segment is an implicit input to the command.)
36 
37 If the system crashes while this command is running, the command can be
38 restarted from the beginning.