This chapter describes the commands available in the Diagnostic Subsystem.
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:
|
-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. |
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.