General Usage AVCLI Commands

You can find general information, such as help, from the general usage AVCLI commands.

About the General Usage AVCLI Commands

The AVCLI general usage commands enable you to perform tasks such as connecting to servers or identifying users.

CLEAR LOG

Use the CLEAR LOG command to clear a system’s diagnostic logs.

The CLEAR LOG command deletes all log files in the directory $ORACLE_HOME/av/log on the Audit Vault Server.

Syntax

CLEAR LOG

Example

avcli> CLEAR LOG;

CONNECT

Use the CONNECT command to connect the current AVCLI user as a different user.

The CONNECT command enables you to connect as a different user in AVCLI.

Syntax

CONNECT [<username>]

Usage Notes

Example 1

avcli> CONNECT psmith;
Enter password: <password>

Connected.

Example 2

avcli> CONNECT;
Enter user name: <username>
Enter password: <password>

Connected.

HELP

Use the HELP command to list the AVCLI commands with their categories.

The HELP command lists all available AVCLI commands and their categories.

Syntax

HELP

Example

avcli> HELP;

-HELP

Use the -HELP command to display help information for all of the AVCLI utility commands.

The -HELP command displays version number and help information about the AVCLI commands. Run the -HELP command from outside of AVCLI.

Syntax

avcli -h
avcli -H
avcli -help
avcli -HELP

Example

avcli -help:

[oracle@slc02vjp ~]$ avcli -help


AVCLI : Release 12.2.0.0.0 - Production on Thu Nov 8 00:53:54 UTC 2012


Copyright (c) 1996, 2015 Oracle.  All Rights Reserved.


Usage 1: avcli -{h|H} | -{v|V}

    -{h|H}             Displays the AVCLI version and the usage help

    -{v|V}             Displays the AVCLI version.

Usage 2: avcli [ [<option>] [<logon>] [<start>] ]

   <option> is: [-{l|L} <log level>]

    -{l|L} <log level>   Sets the log level to the level specified.
                         Supported log levels: INFO, WARNING, ERROR, DEBUG

   <logon> is: -{u|U} <username>
     Specifies the database account username for the database
     connection

   <start> is: -{f|F} <filename>.<ext>
     Runs the specified AVCLI script from the local file system
     (filename.ext). Valid AVCLI script files should have
     their file extension as '.av' (e.g. sample_script.av)

QUIT

Use the QUIT command to exit AVCLI.

The QUIT command exits AVCLI.

Syntax

QUIT

Example

avcli> QUIT;

SHOW USER

Use the SHOW USER command to display the currently logged in AVCLI user.

The SHOW USER command displays the currently logged in AVCLI user.

Syntax

SHOW USER

Example

avcli> SHOW USER;

STORE CREDENTIALS

Use the STORE CREDENTIALS command to store administrator credentials in AVCLI wallet, or to overwrite previously stored credentials.

The STORE CREDENTIALS command lets you store credentials for one Oracle Database Security Central administrator in the Oracle AVCLI wallet, or update existing credentials in the wallet.

Syntax

STORE CREDENTIALS [FOR USER <username>]

Example 1

avcli> STORE CREDENTIALS FOR USER admin1;
Enter password: <password>
Re-enter password: <password>

Example 2

avcli> STORE CREDENTIALS;
Enter user name: admin1
Enter password: <password>
Re-enter password: <password>

-VERSION

Use the -VERSION command to display the AVCLI version number.

The -VERSION command displays the version number for AVCLI. Run the -VERSION command from outside of AVCLI.

Syntax

avcli -v
avcli -V
avcli -version
avcli -VERSION

Example

avcli -v;

AVCLI : Release 12.2.0.0.0 - Production on Tue Apr 26 14:25:31 PDT 2011

Copyright (c) 2014, Oracle.  All Rights Reserved.