Solaris Reference Manual for SMCC-Specific Software
  Search only this book
Download this book in PDF

NAME

prtdiag - print system diagnostic information

SYNOPSIS

/usr/platform/platform-name/sbin/prtdiag [ -v ] [ -l ]

AVAILABILITY

SUNWkvm

DESCRIPTION

prtdiag displays system configuration and diagnostic information.
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.
platform-name is the name of the platform implementation and can be found using the -i option of uname(1).

OPTIONS

The following options are supported:
-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.
-l
Log output.
If failures or errors exist in the system, output this information to syslogd (1M) only.

EXAMPLES

The example below displays sample output from an Ultra-Enterprise machine.
example% /usr/platform/`uname -i`/sbin/prtdiag -v

System Configuration: Sun Microsystems sun4u 8-slot Ultra Enterprise 4000/5000
System clock frequency: 83 MHz
Memory size: 256Mb
        CPU Units: Frequency Cache-Size Version
         A: MHz MB      Impl. Mask     B:MHz     MB Impl.     Mask

Board 0:
167 0.5
10 2.2
167
  1. 5 10

  1. 2

Board 2:      167 0.5      10 2.2           167   0.5     10      2.2
        Memory Units: Size, Interleave Factor, Interleave With
          0: MB Factor: With: 1: MB      Factor: With:

Board 0:
64 4-way
A 64
4-way
A
Board 2:     64 4-way        A 64         4-way       A
======================IO Cards===========================
Board 1, SBus0:
                Sbus clock frequency: 25 MHz
                13:
                     SUNW, soc/SUNW, pln            '501-2069'
Board 1, SBus1:

                SBus clock frequency: 25 MHz
                0:
                     cgsix   'SUNW, 501-2325'
                3:
                     SUNW, hme
                     SUNW, fas/sd(block)
Board 3, SBus0:
                SBus clock frequency: 25 MHz
                13:
                     SUNW, soc       '501-2069'
Board 3, SBus1:
                SBus clock frequency: 25 MHz
                3:
                     SUNW, hme
                     SUNW, fas/sd(block)
Board 7, SBus0:
                Bus clock frequency: 25 MHz
                13:
                     SUNW, soc       '501-2069'
Board 7, SBus1:
                SBus clock frequency: 25 MHz
                3:
                     SUNW, hme
                     SUNW, fas/sd(block)

No failures found in System
===========================

No System Faults found
======================

=================Environmental Status=======================
Keyswitch position is in Normal Mode
System Power Status:    Redundant
System LED Status:       GREEN       YELLOW        GREEN
Normal                     ON           OFF      BLINKING
Fans:
-------
Unit     Status

Rack
OK
Key      OK
AC       OK

System Temperatures (Celsius):
------------------------------------------------
                  Temperature     Trend
Board 0:                38         stable
Board 1:                36         stable
Board 2:                39         stable
Board 3:                39         stable
Board 7:                39         stable
Control Board:          32         stable

Power Supplies:
---------------------
Supply                                   Status
--------                                 --------
0                                        OK
1                                        OK
2                                        OK
3                                        OK
PPS                                      OK
System 3.3v                              OK
System 5.0v                              OK
Peripheral 5.0v precharge                OK
Peripheral 12v precharge                 OK
System 3.3v precharge                    OK
System 5.0v precharge                    OK
AC Power                                 OK

ASIC Revisions:
----------------------
          FHC   AC    SBus0    SBus1   PCI0   PCI1   FEPS
Board 0:    1      4
Board 1:    1      2                                   21
Board 2:    1      4
Board 3:    1      2                                   21
Board 6:
Board 7:    1      2                                   21

System Board PROM revision
-------------------------------------------
Board 0:    OBP      3.1.0 1996/02/12 18:57     POST 2.5.1 1996/02/12 05:24
Board 1:    FCODE 1.6.0 1996/01/23 13:44        iPOST 1.1.4 1996/01/23 06:28
Board 2:    OBP      3.1.0 1996/02/12 18:57     POST 2.5.1 1996/02/12 05:24
Board 3:    FCODE 1.6.0 1996/01/23 13:44        iPOST 1.1.4 1996/01/23 06:28
Board 7:    FCODE 1.6.0 1996/01/23 13:44        iPOST 1.1.4 1996/01/23 06:28

The example below displays sample verbose output from a SPARCcenter 2000.
example% /usr/platform/`uname -i`/sbin/prtdiag -v

System Configuration: Sun Microsystems sun4d SPARCcenter 2000
System clock frequency: 40 MHz
Memory size: 448Mb
Number of XDBuses: 2
        CPU Units: Frequency Cache-Size        Memory Units: Group Size
        A: MHz     MB      B: MHz MB         0: MB 1: MB 2: MB 3: MB

Board1:
40
  1. 0...40 1.0

32
0
32
0
Board4:       40     1.0         40 1.0           32      32      32      32
Board7:       40     1.0         40 1.0           32      32      32      32
Board8:                                           32      32      32      32
======================SBus Cards===========================
Board1:       0:   dma/esp(scsi)           'SUNW,500-1902'
                   lebuffer/le(network)    'SUNW,500-1902'
              1:   dma/esp(scsi)           'SUNW,500-1902'
                   lebuffer/le(network)    'SUNW,500-1902'
              2:   cgsix                   'SUNW,501-1672'
              3:   dma/esp(scsi)           '500-1869-01'
                   lebuffer/le(network)    '500-1869-01'
Board4:       0:   <empty>
              1:   dma/esp(scsi)           '500-1902-01'
                   lebuffer/le(network)    '500-1902-01'
              2:   bf                      'SUNW,501-1732'
              3:   bf                      'SUNW,501-1732'
Board7:       0:   <empty>
              1:   <empty>
              2:   <empty>
              3:   <empty>
Board8:       0:   <empty>
              1:   <empty>
              2:   <empty>
              3:   <empty>

Failed Field Replaceable Units (FRU) in System:
==============================================
SBus Card unavailable on System Board #7
Failed Field Replaceable Unit is SBus card 0

cpu-unit unavailable on System Board #8
Failed Field Replaceable Unit is SuperSPARC Module A

Most recent AC Power Failure:
=============================
Sat May 22 14:21:18 1993

Analysis of most recent System Watchdog:
========================================
Log Date: Thu Feb 18 22:28:15 1993

Analysis for Board 7
-----------------------------
MXCC
 Asynchronous Error
 Error Valid, CCOP=130 ERR= 2 PA=9.10081000
BW0 (CPU B)
 Client Device Error, Internal Error(s) = IOWSCE

EXIT STATUS

0
No failures or errors are detected in the system.
1
Failures or errors are detected in the system.

SEE ALSO

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