1 02/21/84  daily_summary
 2 
 3 Syntax:  daily_summary {-control_args}
 4 
 5 
 6 Function: allows system administrators to print a summary of system
 7 usage for the current billing period and a list of projects with
 8 overspent accounts.  It also places a flag in the SAT for each project
 9 that has an overspent account or has passed its termination date.
10 
11 
12 Control arguments:
13 -nocutr
14    do not print a list of projects to be cutoff.
15 -nosat
16    do not flag SAT entries.
17 -nosum
18    do not print a system usage summary.
19 -warn
20    for all projects to be cutoff, use a warning flag that permits users
21    to login.
22 
23 
24 Notes:  The segments reqfile and smf.cur.sat are assumed to be present
25 in the working directory and are implicit inputs to the daily_summary
26 command.
27 
28 This command writes the system usage of each project in the reqfile on
29 the sumry I/O switch.  The usage figures are cumulative from the time
30 that billing was last run.  It also writes a list of projects that have
31 run out of funds or are past the termination date and flags their SAT
32 entries on the cutrpt I/O switch.
33 
34 
35 The information about the closeness of a project to its limits, that is
36 used to decide whether to print a cutoff warning message when users on
37 the project log in, is placed in the SAT by this command.
38 
39 The cutrpt and sumry I/O switches must be attached by the caller.