1 '\" te 2 .\" Copyright 2019 Peter Tribble. 3 .\" Copyright 1989 AT&T Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved 4 .\" 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. 5 .\" 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. 6 .\" 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] 7 .TH PRTDIAG 1M "Jun 13, 2019" 8 .SH NAME 9 prtdiag \- display system diagnostic information 10 .SH SYNOPSIS 11 .LP 12 .nf 13 \fB/usr/sbin/prtdiag\fR [\fB-v\fR] [\fB-l\fR] 14 .fi 15 16 .SH DESCRIPTION 17 .LP 18 \fBprtdiag\fR displays system configuration and diagnostic information on 19 \fBsun4u\fR, \fBsun4v\fR, and x86 systems. 20 .sp 21 .LP 22 The diagnostic information lists any failed field replaceable units 23 (\fBFRU\fRs) in the system. 24 .sp 25 .LP 26 The interface, output, and location in the directory hierarchy for 27 \fBprtdiag\fR are uncommitted and subject to change in future releases. 28 .SH OPTIONS 29 .LP 30 The following options are supported: 31 .sp 32 .ne 2 33 .na 34 \fB\fB-l\fR\fR 35 .ad 36 .RS 6n 37 Log output. If failures or errors exist in the system, output this information 38 to \fBsyslogd\fR(1M) only. 39 .RE 40 41 .sp 42 .ne 2 43 .na 44 \fB\fB-v\fR\fR 45 .ad 46 .RS 6n 47 Verbose mode. Displays the time of the most recent \fBAC\fR Power failure, and 48 the most recent hardware fatal error information, and (if applicable) 49 environmental status. The hardware fatal error information is useful to repair 50 and manufacturing for detailed diagnostics of \fBFRU\fRs. 51 .RE 52 53 .SH EXIT STATUS 54 .LP 55 The following exit values are returned: 56 .sp 57 .ne 2 58 .na 59 \fB\fB0\fR\fR 60 .ad 61 .RS 5n 62 No failures or errors are detected in the system. 63 .RE 64 65 .sp 66 .ne 2 67 .na 68 \fB\fB1\fR\fR 69 .ad 70 .RS 5n 71 Failures or errors are detected in the system. 72 .RE 73 74 .sp 75 .ne 2 76 .na 77 \fB\fB2\fR\fR 78 .ad 79 .RS 5n 80 An internal \fBprtdiag\fR error occurred, for example, out of memory. 81 .RE 82 83 .SH ATTRIBUTES 84 .LP 85 See \fBattributes\fR(5) for descriptions of the following attributes: 86 .sp 87 88 .sp 89 .TS 90 box; 91 c | c 92 l | l . 93 ATTRIBUTE TYPE ATTRIBUTE VALUE 94 _ 95 Interface Stability Unstable* 96 .TE 97 98 .sp 99 .LP 100 *The output is unstable. 101 .SH SEE ALSO 102 .LP 103 \fBmodinfo\fR(1M), \fBprtconf\fR(1M), \fBpsrinfo\fR(1M), \fBsysdef\fR(1M), 104 \fBsyslogd\fR(1M), \fBattributes\fR(5), \fBopenprom\fR(7D) 105 .SH NOTES 106 .LP 107 Not all diagnostic and system information is available on every 108 platform, and therefore cannot be displayed by \fBprtdiag\fR. On those 109 platforms, further information can be obtained from the System Controller.