diagrpt Command
Purpose
Displays previous diagnostic results.
Syntax
Description
The diagrpt command displays the results of previous diagnostic sessions. There are three types of results that can be viewed:
- Diagnostic result files stored in /etc/lpp/diagnostic/data directory.
- Diagnostic Event Log Information.
- Diagnostic results stored in NVRAM on CHRP systems.
Flags
| Item | Description |
|---|---|
| -o | Displays the last diagnostic results file stored in the /etc/lpp/diagnostics/data directory. |
| -s mmddyy | Displays all diagnostic result files logged since the date specified. |
| -a | Displays the long version of the Diagnostic Event Log. |
| -r | Displays the short version of the Diagnostic Event Log. |
Examples
- To list all previous diagnostic result
files since Jan 31, 1999, enter:
/usr/lpp/diagnostics/bin/diagrpt -s 013199 - To view the short version of the diagnostic
event log, enter:
/usr/lpp/diagnostics/bin/diagrpt -r
File
| Item | Description |
|---|---|
| /usr/lpp/diagnostics/bin/diagrpt | Contains the diagrpt command. |