VM gathers information on virtual machine resource usage and certain other statistics. The information is placed in VM account records distinguished by type codes of 01 to 07. The VM Interface uses the information on resource usage recorded in type 01, 02 and 03 VM accounting records. Types 04, 05, 06 and 07 records do not participate at all in VM Interface processing.
VM permits the generation of user accounting records when a batch machine performs work on another user's behalf. Certain users are also permitted to create type C0 records, which are free-form. The VM Interface provides a count of all record types encountered in the input data. Types C1 to C3 (corresponding to types 01 to 03) are produced when a batch machine performs work on behalf of another user and batch accounting is enabled.
You may elect, through the Record Indicators fields in the CRITERIA statement, to treat any of the C1, C2 and C3 record types like their 01, 02 and 03 counterparts. If you do so, the VM Interface creates records based on this data, tying the resources used to the user who submitted the batch job. Such records are flagged with a batch indicator, though, so it is still possible to distinguish between work done in a user's own machine and work done for that user in a batch machine.
The VM Interface may detect from the presence of type 02 and/or 03 records that a user was logged on during a certain interval, although there is no type 01 record for that interval. In this case, the VM Interface produces an output record for as much of the interval as can be deduced from the data available in the type 02/03 records.
The following is the information contained in the accounting records when a user ends a terminal session or when a device is removed from a virtual machine:
|
User ID |
Number of Page Writes |
|
Account Number |
Non-spooled I/O Count |
|
Logon Date/Time |
Spooled Reader I/O Count |
|
Connect Time |
Spooled Printer I/O Count |
|
Virtual CPU Time |
Spooled Punch I/O Count |
|
Total CPU Time |
Cylinders/Blocks Temporary Disk Used |
|
Number of Page Reads |
Amount of Time Device Connected to User |
| Copyright © 2012 CA. All rights reserved. |
|