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 FRUs in the system that experienced errors.
The prtdiag command is in the following directory: /usr/platform/platform-name/sbin/.
The prtdiag command may display a slot number different from what is 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 those 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 M10-4
Memory size: 64000 Megabytes

================================ Virtual CPUs ================================


CPU ID Frequency Implementation         Status
------ --------- ---------------------- -------

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

59     3000 MHz  SPARC64-X              on-line
60     3000 MHz  SPARC64-X              on-line
61     3000 MHz  SPARC64-X              on-line
62     3000 MHz  SPARC64-X              on-line
63     3000 MHz  SPARC64-X              on-line

======================= Physical Memory Configuration ========================
Segment Table:
--------------------------------------------------------------

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

0x0            32 GB    4            8 GB     /BB0/CMUL/CMP0/MEM00A
                                              /BB0/CMUL/CMP0/MEM01A
                                     8 GB     /BB0/CMUL/CMP0/MEM02A
                                              /BB0/CMUL/CMP0/MEM03A
                                     8 GB     /BB0/CMUL/CMP0/MEM04A
                                              /BB0/CMUL/CMP0/MEM05A
                                     8 GB     /BB0/CMUL/CMP0/MEM06A
                                              /BB0/CMUL/CMP0/MEM07A

0x20000000000  32 GB    4            8 GB     /BB0/CMUL/CMP1/MEM10A
                                              /BB0/CMUL/CMP1/MEM11A
                                     8 GB     /BB0/CMUL/CMP1/MEM12A
                                              /BB0/CMUL/CMP1/MEM13A
                                     8 GB     /BB0/CMUL/CMP1/MEM14A
                                              /BB0/CMUL/CMP1/MEM15A
                                     8 GB     /BB0/CMUL/CMP1/MEM16A
                                              /BB0/CMUL/CMP1/MEM17A


================================ IO Devices ================================
Slot +            Bus   Name +                            Model      Speed
Status            Type  Path
----------------------------------------------------------------------------

/BB0/CMUL/SASHBA  PCIE  scsi-pciex1000,87                 LSI,2308_2 5.0GTx8
                        /pci@8000/pci@4/pci@0/pci@0/scsi@0
/BB0/CMUL/NET0    PCIE  network-pciex14e4,1656                       2.5GTx1
                        /pci@8000/pci@4/pci@0/pci@9/network@0
/BB0/CMUL/NET1    PCIE  network-pciex14e4,1656                       2.5GTx1
                        /pci@8000/pci@4/pci@0/pci@9/network@0,1
/BB0/CMUL/NET2    PCIE  network-pciex14e4,1656                       2.5GTx1
                        /pci@8000/pci@4/pci@0/pci@a/network@0
/BB0/CMUL/NET3    PCIE  network-pciex14e4,1656                       2.5GTx1
                        /pci@8000/pci@4/pci@0/pci@a/network@0,1
/BB0/PCI0         PCIE  ethernet-pciex1077,8000                      5.0GTx4
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@0/ethernet@0
/BB0/PCI0         PCIE  ethernet-pciex1077,8000                      5.0GTx4
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@0/ethernet@0,1
/BB0/PCI0         PCIE  QLGC,qlc-pciex1077,8001           QLE8152    5.0GTx4
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@0/QLGC,qlc@0,2
/BB0/PCI0         PCIE  QLGC,qlc-pciex1077,8001           QLE8152    5.0GTx4
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@0/QLGC,qlc@0,3
/BB0/PCI0         PCIE  emlx-pciex10df,f100               LPe12002-M8-FJ2.5GTx8
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@10/pci@0/pci@0/emlx@0
/BB0/PCI0         PCIE  emlx-pciex10df,f100               LPe12002-M8-FJ2.5GTx8
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@10/pci@0/pci@0/emlx@0,1
/BB0/PCI0         PCIE  network-pciex108e,abcd            SUNW,pcie-qgc2.5GTx8
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@11/pci@0/pci@0/network@0
/BB0/PCI0         PCIE  network-pciex108e,abcd            SUNW,pcie-qgc2.5GTx8
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@11/pci@0/pci@0/network@0,1
/BB0/PCI0         PCIE  network-pciex108e,abcd            SUNW,pcie-qgc2.5GTx8
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@11/pci@0/pci@0/network@0,2
/BB0/PCI0         PCIE  network-pciex108e,abcd            SUNW,pcie-qgc2.5GTx8
                        /pci@8100/pci@4/pci@0/pci@0/pci@0/pci@0/pci@0/pci@1/pci@0/pci@11/pci@0/pci@0/network@0,3
MB                PCIX  usb-pciclass,0c0310                          --
                        /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4
MB                PCIX  usb-pciclass,0c0320                          --
                        /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1

============================ Environmental Status ============================

============================ FRU Status ============================
Location                           Name      Status
------------------------------------------------------

                                   SYS       enabled

============================ FW Version ============================
Version
------------------------------------------------------------

2002

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

OBP 4.34.0 2012/08/15 17:56

Chassis Serial Number
---------------------

2081203001
#