Showing Audit Masks: |-- -o--+-----------+-------------------------------------------| +- -u--mask-+ '- -y-------'
Element | Purpose | Key Considerations |
---|---|---|
-o | Outputs audit masks. | None. |
-u mask | Names a specific mask to display. | Can be any existing audit mask. |
-y | Automatically responds yes to the confirmation prompt. | None. |
The -o option of the onaudit utility sends the mask display to standard output, as follows:
The following example illustrates the format of the output file. The format is the same as that of an input file for onaudit, as Modifying an Audit Mask describes.
maskname basemask audit_events
Because the database server keeps no record of the base mask that is used to create or modify a mask, a single hyphen (-) always appears in the basemask placeholder.
The following example shows output for the command onaudit -o -u pat. It indicates that the individual user mask pat contains the Lock Table (LKTB), Create Table (CRTB), and failed attempts of Add Chunk (ADCK) audit events.
pat - LKTB,CRTB,FADCKHome | [ Top of Page | Previous Page | Next Page | Contents | Index ]