Creating Accounting Records
CP creates and records accounting records when particular system events occur. By default, CP sets accounting on when you bring up z/VM. You can control the setting with the RECORDING command.
Once accounting is on, CP creates an accounting record whenever one of the following
events occurs:
- A virtual machine logs off or detaches a virtual processor.
- A user detaches a dedicated device.
- A user releases temporary disk space.
- A virtual machine issues a DIAGNOSE code X'4C'
- A SNA/CCS terminal session ends.
- The system checkpoints (during shutdown, for example).
- You enter the ACNT command.
When one of these events occurs, CP creates and stores an accounting record that describes the event. Then CP notifies the accounting virtual machine of the new record. Accounting records remain in storage until the accounting virtual machine retrieves them.
The default limit for accounting is 20 records. If the number of records in storage reaches that number, CP notifies you, the primary system operator. The buildup of records in storage indicates that retrieval is not active. You can change the limit with the RECORDING command.