auditcount

This command retrieves the count of the number of jobs in the audit database.

Syntax

Enter the command using the syntax shown below. Available options are shown in brackets.

zosadmin auditcount [--root] [--grid=] [--table=] 

Options

When you add an option, use the syntax in the command line as shown above (where options are shown in their long form). Short and long options for this command are listed below.

-R, --root

Display the count for root jobs only (default counts all jobs).

-g, --grid <value>

Specify a different grid (by ID). Use ‘*’ to match all. Include the single quotes only in a shell environment.

-t, --table <value>

Specify the table (workflow, actions). The default is “workflow.”

-v, --verbose

Turns on verbose output during this operation.

-V, --debug

Turns on debug output during this operation.

-h, --help

Displays a help message for this operation.

Examples

Example 1

To get the count of job records for the logged in grid, use the following command:

zosadmin auditcount