@@@@Platform-“OnPrem”
@@@@Product-“Database”
@@@@ReleaseVersion-“26.11”
@@@@info-map-label-“Running Generic Compliance Framework (Oracle Orachk and Oracle Exachk) Commands”
Running Generic Compliance Framework (Oracle Orachk and Oracle Exachk) Commands
Review the list of generic Oracle Orachk and Oracle Exachk command options.
Syntax
[-a]
[-v]
[-debug]
[-nodaemon]
[-f]
[-upgrade]
[-noupgrade]
[-testemail all | "NOTIFICATION_EMAIL=comma-delimited list of email addresses"]
[-sendemail "NOTIFICATION_EMAIL=comma-delimited list of email addresses"]
[-dbserial]
[-dbparallel [n]]
[-dbparallelmax]
[-readenvconfig]
Parameters
Generic Commands
-a
Runs all checks, including best practice checks and the recommended patch check. If you do not specify any options, the tools run all checks by default.-v
Shows the version of Oracle Autonomous Health Framework compliance tools.-debug
Runs in debug mode. The generated.zipfile contains a debug log and other files useful for Oracle Support.-nodaemon
Does not send commands to the daemon. Usage is interactive.-f
Runs offline. The tools perform health checks on data already collected from the system.-upgrade
Forces an upgrade of the version of the tools being run.-noupgrade
Use this option when you have the latest version inRAT_UPGRADE_LOCbut do not yet want to upgrade. Specifying-noupgradewithout having the latest version inRAT_UPGRADE_LOCstill prompts you to download the latest version.-testemail all | "NOTIFICATION_EMAIL=comma-delimited list of email addresses"
Sends a test email to validate the email configuration.-sendemail "NOTIFICATION_EMAIL=comma-delimited list of email addresses"
Specify a comma-delimited list of email addresses. Emails the generated HTML report to the specified email addresses when the run completes.-dbserial
Runs theSQL,SQL_COLLECT, andOShealth checks serially.-dbparallel [n]
Runs theSQL,SQL_COLLECT, andOShealth checks in parallel usingnchild processes. The default is 25% of the available CPUs.-dbparallelmax
Runs theSQL,SQL_COLLECT, andOShealth checks in parallel using the maximum number of child processes.-
-readenvconfig
Reads theconf_fileconfiguration file underDATA_DIR/SERVER_NAME/common/config/user_username.You cannot set the
RAT_SSH,RAT_SSHELL, andRAT_SCOPYenvironment variables using the export option. Create the configuration file and add these variables manually.To read the configuration file, run:
./exachk -readenvconfigor:
./orachk -readenvconfig