/* BEGIN INCLUDE FILE ... use_totals.incl.pl1 */ /* format: style3 */ /* Modified Feb 1980 by M. B. Armstrong to implement multiple rate structures. (UNCA) Modified May 1980 by R. McDonald to include printer page charge, replaces cpu time in iod. (UNCA) Modified July 1981 by C. Hornig to eliminate rs_number and master_proj from bin, - split it into sub-structures for convenience in conversion, - and make version a character string. Modified August 1981 by T. Casey to put back rs_number in bin. Modified 1984-08-31 BIM for half-year billing cycles, which is all that will fit in a segment. */ dcl use_totals_ptr pointer; dcl 1 use_totals based (use_totals_ptr) aligned, 2 meters, 3 generated fixed bin (71), /* Time usage data generated. */ 3 period_begin fixed bin (71), /* Earliest time covered */ 3 period_end fixed bin (71), /* Latest time */ 3 disk_available fixed bin (35), /* Total disk capacity in MULT partition. */ 3 disk_left fixed bin (35), /* Total disk unused.. */ 3 version char (8), /* revision of this include file */ 3 pad1 (6) fixed bin, /* Gross system statistics, determined from answering service meters. */ 3 uptime fixed bin (71), /* Time system has been on the air. */ 3 sys_starts fixed bin, /* Number of bootloads */ 3 sys_crash fixed bin, /* Number of crashes */ 3 cpu_avail fixed bin (71), /* CPU time available. >= uptime by two-cpu time */ 3 idle fixed bin (71), /* Total idle for all causes */ 3 initializer fixed bin (71), /* Initializer usage */ 3 total_cpu fixed bin (71), /* Total VIRTUAL cpu from bins - so get overhead */ 3 zidle fixed bin (71), /* Total zero idle. */ 3 mpidle fixed bin (71), /* Total MP idle */ 3 pad2 (6) fixed bin (71), /* variables used while reading answering service meters */ 3 zidle_since_boot fixed bin (71), /* Zero idle since boot */ 3 mpidle_since_boot fixed bin (71), /* MP idle since boot */ 3 time_last_boot fixed bin (71), /* Time of last bootload */ 3 time_last_sample fixed bin (71), /* Time of last 15-minute sample */ 3 uptime_since_boot fixed bin (71), /* Time system on air since last boot */ 3 cpu_avail_since_boot fixed bin (71), /* CPU available since boot */ 3 idle_since_boot fixed bin (71), /* Idle time since boot */ 3 last_sysid char (8), /* Current system ID */ 3 n_users_on fixed bin, /* Users on at last sample */ 3 n_stat_gaps fixed bin, /* Number of times we missed getting all data */ /* Statistics by day, for black and white chart. */ 2 b_and_w, 3 origin fixed bin (71), /* Base time for slot 1 */ 3 max_day_log fixed bin, /* Highest used day. */ 3 max_qhour fixed bin, /* Highest quarter in highest day */ 3 daylog (190), /* array of days. */ 4 qh (96), /* Quarter-hour within the day. */ 5 time fixed bin (71), /* Time of sample. */ 5 sysid char (8), /* System ID */ 5 dump_number fixed (18) unsigned unaligned, 5 flags unaligned, 6 shutdown bit (1), 6 pad bit (17), 5 cpu fixed bin (5) unsigned unaligned, 5 nunits fixed bin (13) unsigned unaligned, /* Number of load units */ 5 kmem fixed bin (18) unsigned unaligned, 5 starttime fixed bin (71), /* Boot time */ 5 crashtime fixed bin (71), /* Time of crash */ /**** User-classification info, loaded once a month. defines usage bins. bin 1 is always "other" */ 2 bins, 3 ntypes fixed bin, /* Number of valid bins */ 3 n_select fixed bin, /* Number of selectors */ 3 bin_data (3258) aligned, 4 select_proj char (12) aligned, /* Project ID - same number as in sat */ 4 select_ut fixed bin, /* Bin number for the project */ /* Usage bins for each usage type. Determined from summarizing the PDT's. * Note - bin "use_totals.ut (use_totals.ntypes+1)" is a zeroed bin which can be used to represent non-existent bins. * e.g. Last month's use_totals seg has a bin that has been removed from this month's use_totals seg. */ 3 ut (301), /* array usage by project type */ 4 utype char (24), /* Label for usage bin */ 4 dollar_charge float bin, /* total dollars spent this month */ 4 logins fixed bin, /* number of logins */ 4 crashes fixed bin, /* sessions abnormally terminated */ 4 nproj fixed bin, /* projects in this class */ 4 nusers fixed bin, /* users in this class */ 4 disk_psec fixed bin (71), /* Total page-seconds */ 4 disk_quota fixed bin (35), /* Total quota */ 4 disk_usage fixed bin (35), /* Disk occupancy */ 4 misc float bin, /* Miscellaneous charges */ 4 flag char (4), /* paying categories = "$" */ 4 flag1 char (4), /* used to control reporting of categories */ 4 pad1a (3) fixed bin (35), 4 rs_number fixed bin, /* rate structure number for all projects in this bin */ 4 pad1b (14) fixed bin (35), 4 interactive (0:7), /* interactive use, shifts 0-7 */ 5 charge float bin, /* total dollar charge this shift */ 5 pad1 fixed bin, 5 cpu fixed bin (71), /* cpu usage in microseconds */ 5 core fixed bin (71), /* core demand in page-microseconds */ 5 connect fixed bin (71), /* total console time in microseconds */ 5 io_ops fixed bin (71), /* total terminal i/o ops */ 4 absentee (4), /* absentee use, queues 1-4 */ 5 charge float bin, /* dollar charge this queue */ 5 jobs fixed bin, /* number of jobs submitted */ 5 cpu fixed bin (71), /* total cpu time in microseconds */ 5 memory fixed bin (71), /* total memory usage in mu */ 4 iod (4), /* io daemon use, queues 1-4 */ 5 charge float bin, /* dollar charge this queue */ 5 pieces fixed bin, /* pieces of output requested */ 5 pad2 fixed bin, 5 pages fixed bin, /* number of pages output */ 5 lines fixed bin (71), /* total record count of output */ 4 devices (16) float bin; /* device charges */ dcl USE_TOTALS_VERSION_2 char (8) static options (constant) initial ("usetot_2"); dcl USE_TOTALS_VERSION_3 char (8) static options (constant) initial ("usetot_3"); /* END INCLUDE FILE ... use_totals.incl.pl1 */ */ ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group Bull including Bull HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell Bull Inc., Groupe Bull and Bull HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, Bull or Bull HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by Bull HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved */