Starting and Stopping Audits

You can start an audit by specifying the AUDIT startup parameter or by entering an AUDIT operator command after the file pool server is started in multiple user mode.

When specified as a startup parameter, a partial audit starts as soon as the server begins running in multiple user mode. It is not possible to start a complete audit by using a startup parameter. The parameter is ignored when the server is started in dedicated maintenance mode. For more information on how to specify startup parameters, see File Pool Server Startup Parameters.

To start an audit while the file pool server is running in multiple user mode, use the AUDIT operator command. For a complete description, see AUDIT. If you want to start a complete audit from the secondary user console of the VMSERVU server machine, you would enter:
#cp send vmservu audit on all
The command to start a partial audit in the same server machine is:
#cp send vmservu audit on partial
The CRR recovery server operator command and file pool operator commands, which intervene in CRR activity, are recorded in both partial and complete audits. If you are done auditing the CRR recovery server operator command and now want to stop collecting these CRR audit records, enter:
#cp send vmservu audit crr off
If at a later time, you want to continue auditing the CRR recovery server operator command and file pool operator commands, which intervene in CRR activity, enter:
#cp send vmservu audit crr on

When stopping an audit, you have the option of closing the audit file or leaving it open. The only time you would leave the file open is if you intend to start another audit during that same execution of the file pool server. In that case, additional audit records are added to the end of the file. (The records previously generated are not erased.) When the file pool server is shut down, it automatically closes the audit file if it is open.

This command stops the audit in the VMSERVU machine:
#cp send vmservu audit off

The audit file is closed by default.

Note: The AUDIT command can stop an audit that was begun by a startup parameter.