PRTDIAG(8) Maintenance Commands and Procedures PRTDIAG(8)
prtdiag - display system diagnostic information
/usr/sbin/prtdiag [-v] [-l]
prtdiag displays system configuration and diagnostic information on
sun4u, sun4v, and x86 systems.
The diagnostic information lists any failed field replaceable units
(FRUs) in the system.
The interface, output, and location in the directory hierarchy for
prtdiag are uncommitted and subject to change in future releases.
The following options are supported:
-l
Log output. If failures or errors exist in the system, output
this information to syslogd(8) only.
-v
Verbose mode. Displays the time of the most recent AC Power
failure, and the most recent hardware fatal error information,
and (if applicable) environmental status. The hardware fatal
error information is useful to repair and manufacturing for
detailed diagnostics of FRUs.
The following exit values are returned:
0
No failures or errors are detected in the system.
1
Failures or errors are detected in the system.
2
An internal prtdiag error occurred, for example, out of memory.
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Unstable* |
+--------------------+-----------------+
*The output is unstable.
openprom(4D), attributes(7), modinfo(8), prtconf(8), psrinfo(8),
sysdef(8), syslogd(8)
Not all diagnostic and system information is available on every
platform, and therefore cannot be displayed by prtdiag. On those
platforms, further information can be obtained from the System
Controller.
June 13, 2019 PRTDIAG(8)
NAME
prtdiag - display system diagnostic information
SYNOPSIS
/usr/sbin/prtdiag [-v] [-l]
DESCRIPTION
prtdiag displays system configuration and diagnostic information on
sun4u, sun4v, and x86 systems.
The diagnostic information lists any failed field replaceable units
(FRUs) in the system.
The interface, output, and location in the directory hierarchy for
prtdiag are uncommitted and subject to change in future releases.
OPTIONS
The following options are supported:
-l
Log output. If failures or errors exist in the system, output
this information to syslogd(8) only.
-v
Verbose mode. Displays the time of the most recent AC Power
failure, and the most recent hardware fatal error information,
and (if applicable) environmental status. The hardware fatal
error information is useful to repair and manufacturing for
detailed diagnostics of FRUs.
EXIT STATUS
The following exit values are returned:
0
No failures or errors are detected in the system.
1
Failures or errors are detected in the system.
2
An internal prtdiag error occurred, for example, out of memory.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Unstable* |
+--------------------+-----------------+
*The output is unstable.
SEE ALSO
openprom(4D), attributes(7), modinfo(8), prtconf(8), psrinfo(8),
sysdef(8), syslogd(8)
NOTES
Not all diagnostic and system information is available on every
platform, and therefore cannot be displayed by prtdiag. On those
platforms, further information can be obtained from the System
Controller.
June 13, 2019 PRTDIAG(8)