diaggetrto Command

Purpose

Displays diagnostic run-time options.

Syntax

diaggetrto [ [ -a ] [ -d ] [ -l ] [ -m ] [ -n ] [ -p ] [ -s ] ]

Description

The diaggetrto command displays the value of one or more diagnostic run time options. The following run-time options can be displayed with the diaggetrto command:
Display Diagnostic Mode Selection Menus
When this option is off, diagnostics run in Problem Determination mode only. The default is on.
Include Advanced Diagnostics
When this option is on, diagnostics run in advanced mode when run from the Task Selection Menu or command line. The default is off.
Number of days used to search error log
This option controls how old error log entries must be before they are no longer analyzed by diagnostics. The default is 7.
Display Progress Indicators
When this option is on, diagnostic applications that support progress indicators will display them. The default is on.
Diagnostic Event Logging
When this option is on, diagnostics log events. The default is on.
Diagnostic Event Log file size
This option controls the maximum size of the diagnostic event log. Allowable sizes are in increments of hundreds of kilobytes. The default is 100K.

Flags

Item Description
-a Displays the value of Include Advanced Diagnostics.
-d Displays the value of Diagnostic Event Logging.
-l Displays the value of Diagnostic Event Log file size.
-m Displays the value of Display Diagnostic Mode Selection Menus.
-n Displays the value of Number of days used to search error log.
-p Displays the value of Display Progress Indicators.
-s Displays all of the diagnostic run-time options.

Exit Status

0
The command completed successfully.
>0
An error occurred.

Examples

  1. To display the diagnostic event log size, type:
    /usr/lpp/diagnostics/bin/diaggetrto -l
  2. To check if progress indicators are turned on and to check if diagnostic event logging is turned on, type:
    /usr/lpp/diagnostics/bin/diaggetrto -p -d
  3. To display the number of days to search the error log, type:
    /usr/lpp/diagnostics/bin/diaggetrto -n

Files

Item Description
/usr/lpp/diagnostics/bin/diaggetrto Contains the diagsetrto command.