xref: /titanic_44/usr/src/man/man1m/prtdiag.1m (revision 1a5e258f5471356ca102c7176637cdce45bac147)
te
Copyright 1989 AT&T Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
PRTDIAG 1M "Sep 2, 2008"
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.

prtdiag does not display diagnostic information and environmental status when executed on the Sun Enterprise 10000 server. See the /var/opt/SUNWssp/adm/${SUNW_HOSTNAME}/messages file on the system service processor (SSP) to obtain such information for this server.

OPTIONS

The following options are supported: -l

Log output. If failures or errors exist in the system, output this information to syslogd(1M) 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(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Unstable*

*The output is unstable.

SEE ALSO

modinfo(1M), prtconf(1M), psrinfo(1M), sysdef(1M), syslogd(1M), attributes(5), openprom(7D)

NOTES

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.