Skip to main content

C.2 prtdiag Command


C.2 prtdiag Command
The prtdiag command displays the system settings and diagnosis information. The diagnosis information shows any FRUs that experienced errors in the system.
The prtdiag command is in the following directory: /usr/platform/platform-name/sbin/.
The prtdiag command may display a slot number that differs from those supposed to be displayed according to other parts of this manual. This does not indicate a fault.
Table C-2 lists the options of the prtdiag command and how these options are useful for troubleshooting.
Table C-2  prtdiag Command Options
Option Description Application
No options Displays a list of components. Allows you to check the CPU information, the memory configuration, the mounted PCI Express (PCIe) cards, the OpenBoot PROM version, the mode switch status, and the CPU operational mode.
-v
Displays information in detailed (Verbose) mode. In addition to the content displayed when no option is specified, this option allows you to check detailed information of the PCIe card.
The following example shows the output from the prtdiag command.
# prtdiag -v
System Configuration: Oracle Corporation sun4v SPARC M12-1
Memory size: 62976 Megabytes
================================ Virtual CPUs ================================
CPU ID Frequency Implementation Status
------ --------- ---------------------- -------

0 3200 MHz SPARC64-XII on-line
1 3200 MHz SPARC64-XII on-line
2 3200 MHz SPARC64-XII on-line
3 3200 MHz SPARC64-XII on-line
4 3200 MHz SPARC64-XII on-line
5 3200 MHz SPARC64-XII on-line
6 3200 MHz SPARC64-XII on-line
7 3200 MHz SPARC64-XII on-line
8 3200 MHz SPARC64-XII on-line
9 3200 MHz SPARC64-XII on-line
10 3200 MHz SPARC64-XII on-line
11 3200 MHz SPARC64-XII on-line
------------------------Omitted------------------------

43 3200 MHz SPARC64-XII on-line
44 3200 MHz SPARC64-XII on-line
45 3200 MHz SPARC64-XII on-line
46 3200 MHz SPARC64-XII on-line
47 3200 MHz SPARC64-XII on-line
======================= Physical Memory Configuration ========================
Segment Table:
--------------------------------------------------------------

Base Segment Interleave Bank Contains
Address Size Factor Size Modules
--------------------------------------------------------------

0x7e0000000000 64 GB 4 16 GB /SYS/MBU/CMP0/MEM00A
/SYS/MBU/CMP0/MEM01A
16 GB /SYS/MBU/CMP0/MEM02A
/SYS/MBU/CMP0/MEM03A
16 GB /SYS/MBU/CMP0/MEM10A
/SYS/MBU/CMP0/MEM11A
16 GB /SYS/MBU/CMP0/MEM12A
/SYS/MBU/CMP0/MEM13A
======================================== IO Devices =======================================
Slot + Bus Name + Model Max Speed Cur Speed
Status Type Path /Width /Width
-------------------------------------------------------------------------------------------

/SYS/MBU/NET0 PCIE network-pciex8086,1528 5.0GT/x8 5.0GT/x8
/pci@8000/pci@4/pci@0/pci@1/network@0
/SYS/MBU/NET1 PCIE network-pciex8086,1528 5.0GT/x8 5.0GT/x8
/pci@8000/pci@4/pci@0/pci@1/network@0,1
/SYS/MBU/SASHBA0 PCIE scsi-pciex1000,87 LSI,2308_2 5.0GT/x8 5.0GT/x8
/pci@8100/pci@4/pci@0/pci@0/scsi@0
/SYS/MBU/USB PCIE usb-pciexclass,0c0330 5.0GT/x1 5.0GT/x1
/pci@8100/pci@4/pci@0/pci@8/usb@0
/SYS/MBU/NET2 PCIE network-pciex8086,1528 5.0GT/x8 5.0GT/x8
/pci@8200/pci@4/pci@0/pci@0/network@0
/SYS/MBU/NET3 PCIE network-pciex8086,1528 5.0GT/x8 5.0GT/x8
/pci@8200/pci@4/pci@0/pci@0/network@0,1
============================ Environmental Status ============================
============================ FRU Status ============================
Location Name Status
------------------------------------------------------

SYS enabled
============================ FW Version ============================
Version
------------------------------------------------------------

3026
====================== System PROM revisions =======================
Version
------------------------------------------------------------

OBP 4.38.5 2017/01/04 14:38
Chassis Serial Number
---------------------

TZ41702017