diagrpt Command

Purpose

Displays previous diagnostic results.

Syntax

diagrpt [ [ -o] | [ -s mmddyy] | [ -a] | [ -r] ]

Description

The diagrpt command displays the results of previous diagnostic sessions. There are three types of results that can be viewed:

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

  1. To list all previous diagnostic result files since Jan 31, 1999, enter:
    /usr/lpp/diagnostics/bin/diagrpt -s 013199
  2. 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.