[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Understanding the Diagnostic Subsystem for AIX

Diagnostic Commands

This chapter describes the commands available in the Diagnostic Subsystem.


diag Command

The diag command performs hardware problem determination. When you suspect there is a problem, diag assists you in finding it. The command has the following syntax:

diag [ [ -a ] | [ -s ] | [ [ -d Device ] [ -v ] [ -c ] [ -e ] [ -A ] [ -E Days ] | [ -B ] | [ -T taskname ] [-S testsuite ]

Most users should enter the diag command without any flags. The following flags perform various actions:

-A Advanced mode. Default is non-advanced mode.
-a Processes the changes in the hardware configuration. For example, missing and/or new resources.
-B Tests the base system devices, such as planar, memory, processor.
-c Indicates that the machine will not be attended. No questions will be asked. Results are written to standard output. Normally used by shell scripts.
-dDevice Names the resource that should be tested. The Device parameter is a resource name displayed by the lscfg command.
-EDays Number of days used to search the error log.
-e Causes the device's Diagnostic Application to be run in Error Log Analysis mode.
-S testsuite Tests the Test Suite Group:
  1. Base System
  2. I/O Devices
  3. Async Devices
  4. Graphics Devices
  5. SCSI Devices
  6. Storage Devices
  7. Commo Devices
  8. Multimedia Devices
-s Causes the system to be tested in System Checkout mode.
-T taskstring Specifies a particular Task to execute. The taskstring depends on the particular task to be executed. See Tasks for more information.
-v System Verification Mode. Default is Problem Determination mode.

diagrpt Command

Displays the conclusions made by diagnostics. The diagrpt command has the following syntax:

/usr/lpp/diagnostics/bin/diagrpt [ [ -o ] | [ -s mmddyy ] | [ -a ] | [ -r ]

The diagrpt command reports the conclusions made by diagnostics.

If the user does not specify a flag, a scrollable menu with all diagnostic conclusion reports is displayed.

-o Displays the latest diagnostic conclusion.
-smmddyy Reports diagnostic conclusions made after the date specified (mmddyy).
-a Displays the long version of the Diagnostic Event Log.
-r Displays the short version of the Diagnostic Event Log.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]