The prtdiag command is a UNIX shell command used to display system configuration and diagnostic information. You can use the prtdiag command to display:
System configuration, including information about clock frequencies, CPUs, memory, and I/O card types
Diagnostic information
Failed field-replaceable units (FRUs)
% /usr/platform/sun4u/sbin/prtdiag
To isolate an intermittent failure, it may be helpful to maintain a prtdiag history log. Use prtdiag with the -l (log) option to send output to a log file in /var/adm.
Refer to the prtdiag man page for additional information.
An example of prtdiag output follows. The exact format of prtdiag output depends on which version of the Solaris operating environment is running on your system.
ok /usr/platform/sun4u/sbin/prtdiag -v System Configuration: Sun Microsystems sun4u Sun Ultra Enterprise 250(2 X UltraSPARC-II 248MHz) System clock frequency: 83 MHz Memory size: 640 Megabytes ========================= CPUs ======================== Run Ecache CPU CPU Brd CPU Module MHz MB Impl. Mask --- --- ------- ----- ------ ------ ---- SYS 0 0 248 1.0 US-II 1.1 SYS 1 1 248 1.0 US-II 1.1 ========================= Memory ========================= Interlv. Socket Size Bank Group Name (MB) Status ---- ----- ------ ---- ------ 0 none U0801 32 OK 0 none U0701 32 OK 0 none U1001 32 OK 0 none U0901 32 OK 1 none U0802 64 OK 1 none U0702 64 OK 1 none U1002 64 OK 1 none U0902 64 OK 2 none U0803 32 OK 2 none U0703 32 OK 2 none U1003 32 OK 2 none U0903 32 OK 3 none U0804 32 OK 3 none U0704 32 OK 3 none U1004 32 OK 3 none U0904 32 OK ========================= IO Cards ========================= Bus Freq Brd Type MHz Slot Name Model --- ---- ---- ---- ------------------ ---------------------- SYS PCI 33 0 SUNW,m64B ATY,GT-B SYS PCI 33 1 pciclass,078000 SYS PCI 33 2 pciclass,078000 SYS PCI 33 3 glm Symbios,53C875 No failures found in System =========================== ========================= Environmental Status ========================= System Temperatures (Celsius): ------------------------------ CPU0 44 CPU1 52 MB0 32 MB1 26 PDB 26 SCSI 24
================================= Front Status Panel: ------------------- Keyswitch position is in On mode. System LED Status: DISK ERROR POWER [OFF] [ ON] POWER SUPPLY ERROR ACTIVITY [OFF] [OFF] GENERAL ERROR THERMAL ERROR [OFF] [OFF] ================================= Disk LED Status: OK = GREEN ERROR = YELLOW DISK 5: [OK] DISK 3: [OK] DISK 1: [OK] DISK 4: [OK] DISK 2: [OK] DISK 0: [OK] ================================= Fan Bank : ---------- Bank Speed Status (0-255) ---- ----- ------ SYS 140 OK ================================= Power Supplies: --------------- Supply Status ------ ------ 0 OK ========================= HW Revisions ========================= ASIC Revisions: --------------- STP2223BGA: Rev 4 STP2003QFP: Rev 1 System PROM revisions: ---------------------- OBP 3.5.145 1997/10/15 14:50 POST 5.0.5 1997/10/09 16:52