ADRCI Command Reference

There are four command types in ADRCI:

  • Commands that work with one or more current ADR homes

  • Commands that work with only one current ADR home, and that issue an error message if there is more than one current ADR home

  • Commands that prompt you to select an ADR home when there are multiple current ADR homes

  • Commands that do not need a current ADR home

All ADRCI commands support the case where there is a single current ADR home.

Table 17-2 lists the set of ADRCI commands.


Table 17-2 List of ADRCI commands

Command Description

CREATE REPORT

Creates a report for the specified report type and ID.

ECHO

Echoes the input string.

EXIT

Exits the current ADRCI session.

HOST

Executes operating system commands from ADRCI.

IPS

Invokes the IPS utility. See Table 17-3 for the IPS commands available within ADRCI.

PURGE

Purges diagnostic data in the current ADR home, according to current purging policies.

QUIT

Exits the current ADRCI session.

RUN

Runs an ADRCI script.

SELECT

Retrieves qualified records from the specified incident or problem.

SET BASE

Sets the ADR base for the current ADRCI session.

SET BROWSER

Reserved for future use.

SET CONTROL

Set purging policies for ADR contents.

SET ECHO

Toggles command output.

SET EDITOR

Sets the default editor for displaying trace and alert log contents.

SET HOMEPATH

Makes current one or more ADR homes.

SET TERMOUT

Toggles terminal output.

SHOW ALERT

Shows alert log messages.

SHOW BASE

Shows the current ADR base.

SHOW CONTROL

Shows ADR information, including the current purging policy.

SHOW HM_RUN

Shows Health Monitor run information.

SHOW HOMEPATH

Shows the current homepath.

SHOW HOMES

Lists the current ADR homes.

SHOW INCDIR

Lists the trace files created for the specified incidents.

SHOW INCIDENT

Outputs a list of incidents.

SHOW LOG

Shows diagnostic log messages.

SHOW PROBLEM

Outputs a list of problems.

SHOW REPORT

Shows a report for the specified report type and ID.

SHOW TRACEFILE

Lists qualified trace file names.

SPOOL

Directs output to a file.


Note:

Unless otherwise specified, all commands work with multiple current ADR homes.