[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    prtdiag(1M) manual page Table of Contents

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: MHzMBImpl.MaskB:MHzMBImpl.Mask________Board 0:1670.5102.21670.5102.2Board
2:1670.5102.21670.5102.2
Memory Units: Size, Interleave Factor, Interleave With
0: MBFactor:With:1: MBFactor:With:______Board 0:644-wayA644-wayABoard 2:644-wayA644-wayA
======================IO
Cards====================================
Board 1, SBus0:Sbus clock frequency:    25 MHz
























































13:SUNW, soc/SUNW, pln    ’501-2069’Board 1, SBus1:SBus clock frequency: 25 MHz0:cgsix    ’SUNW, 501-2325’3:SUNW, hmeSUNW, fas/sd(block)Board 3, SBus0:SBus clock frequency: 25 MHz13:SUNW, soc    ’501-2069’Board 3, SBus1:SBus clock frequency: 25 MHz3:SUNW, hmeSUNW, fas/sd(block)Board 7, SBus0:Bus clock frequency: 25 MHz13:SUNW, soc    ’501-2069’Board 7, SBus1:SBus clock frequency: 25 MHz3:SUNW, hmeSUNW, fas/sd(block)No failures found in System===========================No System Faults found====================================Environmental Status=======================Keyswitch position is in Normal ModeSystem Power Status:RedundantSystem LED Status:GREENYELLOWGREENNormalONOFFBLINKINGFans:-------UnitStatus__RackOKKeyOKACOKSystem Temperatures (Celsius):------------------------------------------------TemperatureTrend__Board 0:38stableBoard 1:36stableBoard 2:39stableBoard 3:39stableBoard 7:39stableControl Board: 32stablePower Supplies:---------------------SupplyStatus----------------0OK1OK2OK3OKPPSOKSystem 3.3vOKSystem 5.0vOKPeripheral 5.0v prechargeOKPeripheral 12v prechargeOKSystem 3.3v prechargeOKSystem 5.0v prechargeOKAC PowerOKASIC Revisions:----------------------FHCACSBus0SBus1PCI0PCI1FEPS_______Board 0:14Board 1:1221Board 2:14Board 3:1221Board 6:Board 7:1221System Board PROM revision-------------------------------------------Board 0:OBP3.1.01996/02/1218:57POST2.5.11996/02/1205:24Board 1:FCODE1.6.01996/01/2313:44iPOST1.1.41996/01/2306:28Board 2:OBP3.1.01996/02/1218:57POST2.5.11996/02/1205:24Board 3:FCODE1.6.01996/01/2313:44iPOST1.1.41996/01/2306:28Board 7:FCODE1.6.01996/01/2313:44iPOST1.1.41996/01/2306:28The example below displays sample verbose output from a SPARCcenter 2000.example% /usr/platform/‘uname -i‘/sbin/prtdiag -vSystem Configuration: Sun Microsystems sun4d SPARCcenter 2000System clock frequency: 40 MHzMemory size: 448MbNumber of XDBuses: 2CPU Units: Frequency Cache-SizeMemory Units: Group Sizer1 r1 r1 r1 l l2 l2 l2 l2r1 r1 r1 r1 l r2 r2 r2 r2.A: MHzMB__Board1:401.0Board4:401.0Board7:401.0Board8:======================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 #7Failed Field Replaceable Unit is SBus card 0cpu-unit unavailable on System Board #8Failed Field Replaceable Unit is SuperSPARC Module AMost recent AC Power Failure:=============================Sat May 22 14:21:18 1993Analysis of most recent System Watchdog:========================================Log Date: Thu Feb 18 22:28:15 1993Analysis for Board 7-----------------------------MXCC Asynchronous Error Error Valid, CCOP=130 ERR= 2 PA=9.10081000BW0 (CPU B) Client Device Error, Internal Error(s) = IOWSCE

Exit Status

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

See Also

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


Table of Contents