1 02/27/85 reset_usage
2
3 Syntax as a command: reset_usage sat_path pdt_dir admin_sat admin_pdt
4
5
6 Function: subtracts the resource usage in each PDT located in an
7 administrative directory from the resource usage information in the
8 system copy of each PDT. This procedure modifies only the system copy
9 of the PDTs.
10
11
12 Arguments:
13 admin_pdt
14 is the pathname of the directory in which administrative copies of
15 the PDTs reside.
16 admin_sat
17 is the pathname of an administrative copy of the SAT.
18 pdt_dir
19 is the pathname of the directory containing the system copies of the
20 PDTs.
21 sat_path
22 is the pathname of the system copy of the SAT.
23
24
25 Notes: This command is used by biller.ec. Projects are billed for the
26 usage recorded in the administrative copies of the PDTs. These copies
27 are created by the crank called by master.ec from the system copies
28 of the PDTs. Meanwhile, logged in users are accruing additional usage
29 charges, recorded in the system copies of the PDTs. Execution of this
30 command subtracts the charges that have just been billed, leaving in
31 the system PDTs only the most recently accrued charges that have not
32 yet been billed.
33
34 If the system crashes while this command is running, the command can be
35 restarted from the beginning.