Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, 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 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
Availability
system/core-os
Interface Stability
Uncommitted*

*The output is unstable.

See Also

openprom(4D), attributes(7), modinfo(8), prtconf(8), psrinfo(8), sysdef(8), syslogd(8)

Notes

When SP services are not available the sensor status values can be "unknown", for example, during firmware update or a SP reset.

Not all diagnostic and system information is available on every Solaris platform, and therefore cannot be displayed by prtdiag. On those platforms, further information can be obtained from the System Controller.