E.2 Running Generic Compliance Framework (Oracle ORAchk and Oracle EXAchk) Commands

Review the list of generic Oracle ORAchk and Oracle EXAchk command options.


[-testemail all | "NOTIFICATION_EMAIL=comma-delimited list of email addresses"] 
[-sendemail “NOTIFICATION_EMAIL=comma-delimited list of email addresses"] 
[-dbparallel [n]] 


Table E-1 Generic Commands

Option Description


Runs all checks, including the best practice checks and the recommended patch check. If you do not specify any options, then the tools run all checks by default.


Shows the version of Oracle Autonomous Health Framework compliance tools.


Runs in debug mode.

The generated .zip file contains a debug log and other files useful for Oracle Support.


Does not send commands to the daemon, usage is interactive.


Runs Offline. The tools perform health checks on the data already collected from the system.


Forces an upgrade of the version of the tools being run.


-noupgrade is for when you have the latest version in RAT_UPGRADE_LOC and do not yet want to upgrade.

Adding -noupgrade without having the latest version in RAT_UPGRADE_LOC will still prompt you to download the latest version.

-testemail all | "NOTIFICATION_EMAIL=comma-delimited list of email addresses"

Sends a test email to validate email configuration.

-sendemail “NOTIFICATION_EMAIL=comma-delimited list of email addresses"

Specify a comma-delimited list of email addresses.

Emails the generated HTML report on completion to the specified email addresses.


Runs the SQL, SQL_COLLECT, and OS health checks in serial.

-dbparallel [n]

Runs the SQL, SQL_COLLECT, and OS health checks in parallel, using n number of child processes.

Default is 25% of CPUs.


Runs the SQL, SQL_COLLECT, and OS health checks in parallel, using the maximum number of child processes.


Read the configuration file conf_file under DATA_DIR/SERVER_NAME/common/config/user_username.

You cannot set the environment variables RAT_SSH, RAT_SSHELL, and RAT_SCOPY using the export option. You will have to create the configuration file and add them manually.

To read configuration file, run:
./exachk -readenvconfig
./orachk -readenvconfig