Commands

You can run HealthCheck scanners and tests from a command-line interface.

HealthCheck Commands

In addition to the browser user interface, you can also run scanners and tests from your command-line interface. Currently, HealthCheck command-line functions are limited to enabling and running tests. To configure and customize tests, use extensible properties, or to view error analysis, you must use the HealthCheck browser user interface.

You can access HealthCheck reports that are generated from test runs from the command line. HealthCheck reports are output to the install_dir/reports/healthCheck/ directory. Ensure that you regularly clear out the reports file to conserve system resources.

The following commands are used to run the HealthCheck utility from the command line:

-h

is the Help command. The commands and abbreviated scanner and test names that are available for use in the command-line interface are displayed.

-ALL

enables and runs all scanners and tests in HealthCheck. A report with any errors or warnings is generated in the reports directory.

-S

is the Scanner command. The Scanner command both enables and runs scanners with the scanner short name. For example, to enable and run only the Business Process Scanner, System Process Scanner, and the Dynamic Tracking Data Scanner, enter:

-S BPS SPS DTDS

-T

is the Test command. The Test command both enables and runs specific tests with the scanner short name. For example, to enable and run only the X Path test in the Business Process Scanner, enter:

-T BPS.xPath

You can also find scanner and test short names in HealthCheck Properties Overview