This section describes commands that enable you to display general system information.
The following is an alphabetical list of system information commands shown in man page form, with short descriptions and examples or links to examples.
Displays and sets date and time.
$ date Fri Jun 1 16:07:44 MDT 2012
$ hostid 84f9ae0a
Identifies various attributes of the instruction set architectures supported on the currently running system. Examples of questions that isainfo can answer include whether 64-bit applications are supported, or whether the running kernel uses 32-bit or 64-bit device drivers.
See Displaying Architecture Type and Displaying Processor Type.
Displays system configuration information, installed memory, device properties, and product name.
See Displaying Product Name, Displaying Installed Memory and Displaying Default and Customized Property Values for a Device.
Displays system configuration and diagnostic information, including any failed field replacement units (FRUs). See Displaying System Diagnostic Information.
Displays processor information. See Chip Multithreading Features
$ psrinfo 0 on-line since 08/22/2019 23:27:21 1 on-line since 08/22/2019 23:27:22 ...
Displays operating system name, release, version, node name, hardware name, processor type, and virtualization status. The virtualization status appears in the uname -a command output starting with the Oracle Solaris 11.4 SRU 36 release.
$ uname -a SunOS example-server 5.11 11.4.36.15.0 sun4v sparc sun4v non-virtualized
$ cat /etc/release
                            Oracle Solaris 11.4 SPARC
  Copyright (c) 1983, 2018, Oracle and/or its affiliates.  All rights reserved.
                            Assembled 10 October 2018
                    You can use the isainfo command to display the architecture type and names of the native instruction sets for applications that are supported by the current operating system. An x86 based system would display amd64 i386, while a SPARC based system would display sparcv9 sparc.
Command options show more specific information. The isainfo -v command displays 32-bit and 64-bit application support. For example, the following sample output is from a SPARC based system:
$ isainfo -v
64-bit sparcv9 applications
        crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia kasumi
        des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc
32-bit sparc applications
        crc32c cbcond pause mont mpmul sha512 sha256 sha1 md5 camellia kasumi
        des aes ima hpc vis3 fmaf asi_blk_init vis2 vis popc v8plus div32 mul32
                On an x86 based system, the same command syntax would generate the following output:
$ isainfo -v
64-bit amd64 applications
        avx xsave pclmulqdq aes sse4_2 sse4_1 ssse3 popcnt tscp ahf
        cx16 sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu
32-bit i386 applications
        avx xsave pclmulqdq aes sse4_2 sse4_1 ssse3 popcnt tscp ahf
        cx16 sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu
            
            You can use the isainfo -x command to display information about the processor of a system. The following sample output is from an x86 based system:
$ isainfo -x
amd64: avx xsave pclmulqdq aes sse4_2 sse4_1 ssse3 popcnt tscp ahf cx16 sse3 
       sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu
i386: avx xsave pclmulqdq aes sse4_2 sse4_1 ssse3 popcnt tscp ahf cx16 sse3 
       sse2 sse fxsr mmx cmov sep cx8 tsc fpu
                The following sample output is from a SPARC based system:
$ isainfo -x sparcv9: ima fmaf vis2 vis popc sparc: ima fmaf vis2 vis popc v8plus div32 mul32
For more information, see the isainfo(1) man page.
You can display the product name of your system using the prtconf command with the –b option. The following example shows verbose output on a SPARC based system:
$ /usr/sbin/prtconf -vb name: ORCL,SPARC-S7-2L banner-name: SPARC S7-2L compatible: 'sun4v' idprom: 01860010.e0bb7ce6.00000000.bb7ce677.00000000.00000000.00000000.00000000 openprom model: SUNW,4.43.2 openprom version: 'OBP 4.43.2 2019/01/25 07:51'
You can display the amount of memory that is installed on your system using the prtconf command piped to grep Memory. For example:
$ prtconf | grep Memory Memory size: 260352 Megabytes
You can use the prtconf -u command to display the default and customized property values for devices.
Example 1 SPARC: Displaying Default and Custom Device PropertiesThis example shows the default and custom properties for the e1000g.conf file. Note that vendor-provided configuration files are located in the /kernel and /platform directories, while the corresponding modified driver configuration files are located in the /etc/driver/drv directory.
$ /usr/sbin/prtconf -u
System Configuration:  Oracle Corporation  sun4v
Memory size: 260352 Megabytes
System Peripherals (Software Nodes):
ORCL,SPARC-S7-2L
    scsi_vhci, instance #0
        disk, instance #50
        disk, instance #51
...
        disk, instance #1 (driver not attached)
        disk, instance #23 (driver not attached)
...
    packages (driver not attached)
    chosen (driver not attached)
    openprom (driver not attached)
    options, instance #0
    aliases (driver not attached)
    memory (driver not attached)
    virtual-memory (driver not attached)
    iscsi-hba (driver not attached)
    reboot-memory (driver not attached)
    cpu (driver not attached)
...
    virtual-devices, instance #0
        flashprom (driver not attached)
        random-number-generator, instance #0
        dax, instance #0 (driver not attached)
        console, instance #0
        channel-devices, instance #0
            virtual-channel, instance #0
            virtual-channel, instance #3
            virtual-channel-client, instance #1
            virtual-channel-client, instance #2
            pciv-communication, instance #0
            virtual-domain-service, instance #0
...
        pci, instance #12
            pci, instance #16
                pci, instance #17
                pci, instance #18
                pci, instance #19
                    LSI,sas, instance #3
                        iport, instance #6
                            smp, instance #1 (driver not attached)
                            enclosure, instance #3 (driver not attached)
                        iport, instance #8
                            enclosure, instance #0 (driver not attached)
                            smp, instance #2 (driver not attached)
                pci, instance #20
                    LSI,sas, instance #0
                        iport, instance #9
                        iport, instance #1
    ramdisk-root, instance #0 (driver not attached)
    fcoe, instance #0
    iscsi, instance #0
    pseudo, instance #0
                
                
                    Example 2  x86: Displaying Default and Custom Device Properties
                    $ /usr/sbin/prtconf -u
System Configuration:  Oracle Corporation  i86pc
Memory size: 131015 Megabytes
System Peripherals (Software Nodes):
i86pc
    scsi_vhci, instance #0
        disk, instance #5 (driver not attached)
        disk, instance #3
        disk, instance #4 (driver not attached)
...
    ioapics (driver not attached)
        ioapic, instance #0 (driver not attached)
        ioapic, instance #1 (driver not attached)
    pci, instance #1
        pci108e,484e (driver not attached)
        pci108e,484e, instance #0
        pci108e,484e (driver not attached)
...
    pci, instance #2
        pci8086,3c01 (driver not attached)
        pci8086,3c02, instance #5
            pci108e,484e, instance #0
            pci108e,484e, instance #1
...
    fw, instance #0
        sb, instance #1
            socket, instance #2
                cpu, instance #0
                cpu, instance #16
...
            socket, instance #3
                cpu, instance #8
                cpu, instance #24
...
    used-resources (driver not attached)
    fcoe, instance #0
    iscsi, instance #0
    agpgart, instance #0 (driver not attached)
    options, instance #0
    pseudo, instance #0
    vga_arbiter, instance #0 (driver not attached)
    xsvc, instance #0 (driver not attached)
    intel-iommu, instance #0
    intel-iommu, instance #1
                    This example shows the default and custom properties for the bge.conf file. Note that vendor-provided configuration files are located in the /kernel and /platform directories, while the corresponding modified driver configuration files are located in the /etc/driver/drv directory.
Example 3 x86: Displaying System Configuration InformationThis example shows how to use the prtconf command with the –v option on an x86 based system to identify which disk, tape, and DVD devices are connected to the system. The output of this command displays driver not attached messages next to the device instances for which no device exists.
$ /usr/sbin/prtconf -v | more
System Configuration:  Oracle Corporation  i86pc
Memory size: 131015 Megabytes
System Peripherals (Software Nodes):
i86pc
    Device Hold:
        mod='genunix' id=1
            value='root nexus.'
        mod='devinfo' id=191
            value='Device snapshot.'
    Driver properties:
        name='fm-accchk-capable' type=boolean dev=none
        name='fm-dmachk-capable' type=boolean dev=none
        name='fm-ereport-capable' type=boolean dev=none
        name='fm-errcb-capable' type=boolean dev=none
        name='pm-hardware-state' type=string items=1 dev=none
            value='needs-suspend-resume'
...
        disk, instance #3
            Device Hold:
                mod='specfs' id=7
                    value='Device opened.'
            Driver properties:
                name='ddi-dpofua-supported' type=boolean dev=none
                name='ddi-failfast-supported' type=boolean dev=none
                name='ddi-kernel-ioctl' type=boolean dev=none
                name='fm-ereport-capable' type=boolean dev=none
                name='inquiry-rpm' type=int items=1 dev=none
                    value=00002724
                name='inquiry-serial-no' type=string items=1 dev=none
                    value='001205PNARLB        PVGNARLB'
...
        disk, instance #5 (driver not attached)
        disk, instance #4 (driver not attached)
...
    ioapics (driver not attached)
...
    used-resources (driver not attached)
    agpgart, instance #0 (driver not attached)
    vga_arbiter, instance #0 (driver not attached)
    xsvc, instance #0 (driver not attached)
...
    intel-iommu, instance #1
        Driver properties:
            name='fm-ereport-capable' type=boolean dev=none
...
                
                For more information, see the driver(5), driver.conf(5), and prtconf(8) man pages.
For instructions on how to create administratively provided configuration files, see Chapter 1, Managing Devices in Oracle Solaris in Managing Devices in Oracle Solaris 11.4.
You can use the prtdiag command to display configuration and diagnostic information for a system.
$ prtdiag [-v] [-l]
Verbose mode.
Log output. If failures or errors exist in the system, send this output to syslogd(8) only.
This example shows the output for the prtdiag -v command on a SPARC based system.
$ /usr/sbin/prtdiag -v | more
System Configuration:  Oracle Corporation  sun4v SPARC S7-2L
Memory size: 260352 Megabytes
================================ Virtual CPUs ================================
CPU ID Frequency Implementation         Status
------ --------- ---------------------- -------
0      4267 MHz  SPARC-S7               on-line
1      4267 MHz  SPARC-S7               on-line
2      4267 MHz  SPARC-S7               on-line
3      4267 MHz  SPARC-S7               on-line
...
======================= Physical Memory Configuration ========================
Segment Table:
--------------------------------------------------------------
Base               Segment  Interleave  Bank     Contains
Address            Size     Factor      Size     Modules
--------------------------------------------------------------
0x0                128 GB   0           128 GB   /SYS/MB/CMP0/MCU0/CH0/D0
                                                 /SYS/MB/CMP0/MCU0/CH0/D1
...
0x400000000000     128 GB   0           128 GB   /SYS/MB/CMP1/MCU0/CH0/D0
                                                 /SYS/MB/CMP1/MCU0/CH0/D1
...
======================================== IO Devices =======================================
Slot +            Bus   Name +                            Model      Max Speed  Cur Speed
Status            Type  Path                                         /Width     /Width
-------------------------------------------------------------------------------------------
/SYS/MB/XGBE      PCIE  network-pciex8086,1589                       --         --
                        /pci@300/pci@1/pci@0/pci@1/network@0
/SYS/MB/NET1      PCIE  network-pciex8086,1589                       --         --
                        /pci@300/pci@1/pci@0/pci@1/network@0,1
...
============================ Environmental Status ============================
Fan sensors:
----------------------------------------------------------------
Location                           Sensor             Status
----------------------------------------------------------------
SYS/MB/FM0/F0                      TACH               ok
SYS/PS1/F0                         TACH               ok
Temperature sensors:
----------------------------------------------------------------
Location                           Sensor             Status
----------------------------------------------------------------
SYS/MB/CMP0/MCU0/CH0/D0            T_AMB              ok
SYS/MB/CMP0/MCU0/CH0/D1            T_AMB              ok
============================ Environmental Status ============================
Fan sensors:
----------------------------------------------------------------
Location                           Sensor             Status    
----------------------------------------------------------------
SYS/FANBD/F0                       TACH               ok
SYS/FANBD/F1                       TACH               ok                                 
...
Current sensors:
...
Voltage sensors:
...
LEDs:
...
============================ FRU Status ============================
Location                           Name      Status
------------------------------------------------------
SYS                                DBP       enabled
SYS/DBP                            HDD0      enabled
...
============================ FW Version ============================
Version
------------------------------------------------------------
Sun System Firmware 9.9.2.a 2019/02/06 13:17
====================== System PROM revisions =======================
Version
------------------------------------------------------------
OBP 4.43.2 2019/01/25 07:51
Chassis Serial Number
---------------------
AK00312345
                
                
                    Example 5  x86: Displaying System Diagnostic Information
                    This example shows the output for the prtdiag –l command on an x86 based system.
$ /usr/sbin/prtdiag -l System Configuration: Oracle Corporation SUN FIRE X4270 M3 BIOS Configuration: American Megatrends Inc. 18110500 12/22/2014 BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style) ==== Processor Sockets ==================================== Version Location Tag -------------------------------- -------------------------- Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz P0 Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz P1 ==== Memory Device Sockets ================================ Type Status Set Device Locator Bank Locator ----------- ------ --- ------------------- ---------------- DDR3 in use 0 D7 /SYS/MB/P0 unknown empty 0 D6 /SYS/MB/P0 DDR3 in use 0 D5 /SYS/MB/P0 unknown empty 0 D1 /SYS/MB/P1 DDR3 in use 0 D2 /SYS/MB/P1 ==== On-Board Devices ===================================== Onboard Video X540 10GbE Controller Intel C600 Series - SAS Intel C600 Series - SATA ==== Upgradeable Slots ==================================== ID Status Type Description --- --------- ---------------- ---------------------------- 1 available PCI Express Gen3 /SYS/MB/PCIE1 2 in use PCI Express Gen3 /SYS/MB/PCIE2 3 available PCI Express Gen3 /SYS/MB/PCIE3 4 in use PCI Express Gen3 /SYS/MB/PCIE4 5 available PCI Express Gen3 /SYS/MB/PCIE5 6 in use PCI Express Gen3 /SYS/MB/PCIE6
The psrinfo command has been modified to provide information about physical processors in addition to information about virtual processors. This enhanced functionality has been added to identify chip multithreading (CMT) features. The –p option reports the total number of physical processors that are in a system. The –t option displays a tree of the processors of the system and their associated socket, core, and CPU IDs.
Using the psrinfo -pv command lists the physical processors in the system and the virtual processors that are associated with each physical processor. The following example applies the command to an x86 based system:
$ /usr/sbin/psrinfo -pv
The physical processor has 8 cores and 16 virtual processors (0-7,16-23)
  The core has 2 virtual processors (0,16)
  The core has 2 virtual processors (1,17)
  The core has 2 virtual processors (2,18)
  The core has 2 virtual processors (3,19)
  The core has 2 virtual processors (4,20)
  The core has 2 virtual processors (5,21)
  The core has 2 virtual processors (6,22)
  The core has 2 virtual processors (7,23)
    x86 (GenuineIntel 206D7 family 6 model 45 step 7 clock 2893 MHz)
      Intel(r) Xeon(r) CPU E5-2690 0 @ 2.90GHz
The physical processor has 8 cores and 16 virtual processors (8-15,24-31)
 ...