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-1
Memory size: 63744 Megabytes
================================ Virtual CPUs ================================
CPU ID Frequency Implementation Status
------ --------- ---------------------- -------

0 3700 MHz SPARC64-X+ on-line
1 3700 MHz SPARC64-X+ on-line
2 3700 MHz SPARC64-X+ on-line
3 3700 MHz SPARC64-X+ on-line
4 3700 MHz SPARC64-X+ on-line
5 3700 MHz SPARC64-X+ on-line
6 3700 MHz SPARC64-X+ on-line
7 3700 MHz SPARC64-X+ on-line
8 3700 MHz SPARC64-X+ on-line
9 3700 MHz SPARC64-X+ on-line
10 3700 MHz SPARC64-X+ on-line
11 3700 MHz SPARC64-X+ on-line
12 3700 MHz SPARC64-X+ on-line
13 3700 MHz SPARC64-X+ on-line
14 3700 MHz SPARC64-X+ on-line
15 3700 MHz SPARC64-X+ 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/SASHBA PCIE scsi-pciex1000,87 LSI,2308_2 5.0GT/x8 5.0GT/x8
/pci@8000/pci@4/pci@0/pci@0/scsi@0
/SYS/MBU/NET0 PCIE network-pciex8086,10c9 2.5GT/x2 2.5GT/x2
/pci@8000/pci@4/pci@0/pci@1/network@0
/SYS/MBU/NET1 PCIE network-pciex8086,10c9 2.5GT/x2 2.5GT/x2
/pci@8000/pci@4/pci@0/pci@1/network@0,1
/SYS/MBU/NET2 PCIE network-pciex8086,10c9 2.5GT/x2 2.5GT/x2
/pci@8100/pci@4/pci@0/pci@0/network@0
/SYS/MBU/NET3 PCIE network-pciex8086,10c9 2.5GT/x2 2.5GT/x2
/pci@8100/pci@4/pci@0/pci@0/network@0,1
MB PCIX usb-pciclass,0c0310 -- --
/pci@8000/pci@4/pci@0/pci@2/pci@0/usb@4
MB PCIX usb-pciclass,0c0320 -- --
/pci@8000/pci@4/pci@0/pci@2/pci@0/usb@4,1
============================ Environmental Status ============================
============================ FRU Status ============================
Location Name Status
------------------------------------------------------

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

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

OBP 4.38.5 2017/04/13 16:40
Chassis Serial Number
---------------------

TZ01348016
#