Wednesday, 12 May 2021

UNIX System Information - Sun Solaris

Introduction

Sun Solaris was formerly known as SunOS (Wikipedia) and a open source version is now available called OpenSolaris.

OS Version

While uname gives an overview of the SunOS/Solaris version it is not always sufficient. An alternative is to use the contents of /etc/release:

$ cat /etc/release 
                         OpenSolaris 2009.06 snv_111b X86
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                              Assembled 07 May 2009

Installed Packages

An overview of the installed software packages can be obtained with:

  • pkginfo:
$ pkginfo
system      BRCMbnx                         Broadcom NetXtreme II Gigabit Ethernet Adapter Driver
system      FSWxorg-fonts-core              X.Org Foundation X11 core fonts
system      NVDAgraphics                    NVIDIA Graphics System Software
system      NVDAgraphicsr                   NVIDIA Graphics System Device Driver
system      SUNW1394                        Sun IEEE1394 Framework
...
application openofficeorg3-math             Math brand module for OpenOffice.org 3.1
application openofficeorg3-writer           Writer brand module for OpenOffice.org 3.1
application sunstudioexpress                Sun Studio Express March 2009
  • pkg:
$ pkg list
NAME (PUBLISHER)                              VERSION         STATE      UFIX
BRCMbnx                                       0.5.11-0.111    installed  ----
FSWxorg-fonts-core                            0.5.11-0.111    installed  ----
NVDAgraphics                                  0.180.44-0.111  installed  ----
SUNW1394                                      0.5.11-0.111    installed  ----
...
openoffice                                    3.1.0-0.111     installed  ----
ruby-dev                                      0.5.11-0.111    installed  ----
service/network/message-queue-41              4.1-0.111       installed  ----
sunstudioexpress                              0.2009.3.1-0.111 installed  ----
web/glassfish-2                               2.1-0.111       installed  ----

CPU

The processor type(s) and number can be obtained using psrinfo:

$ psrinfo -v
Status of processor 0 as of: 04/03/05 17:49:50
  Processor has been on-line since 04/03/05 15:54:58.
  The sparc processor operates at 75 MHz,
        and has a sparc floating point processor.

Hardware Summary

The prtconf command provides a lot of information about the hardware in a Solaris system, including the amount of physical memory installed.

$ prtconf
System Configuration:  Sun Microsystems  sun4m
Memory size: 512 Megabytes
System Peripherals (Software Nodes):
SUNW,Axil-320
    packages (driver not attached)
        disk-label (driver not attached)
        deblocker (driver not attached)
        obp-tftp (driver not attached)
    options, instance #0
    aliases (driver not attached)
    openprom (driver not attached)
    iommu, instance #0
        sbus, instance #0
            espdma, instance #0
                esp, instance #0
                    sd (driver not attached)
                    st (driver not attached)
                    sd, instance #0
                    sd, instance #1 (driver not attached)
                    sd, instance #2 (driver not attached)
                    sd, instance #3
                    sd, instance #4 (driver not attached)
                    sd, instance #5 (driver not attached)
                    sd, instance #6
            ledma, instance #0
                le, instance #0
            SUNW,bpp (driver not attached)
            SUNW,DBRIe (driver not attached)
                mmcodec (driver not attached)
            cgsix, instance #1
    obio, instance #0
        zs, instance #0
        zs, instance #1
        eeprom (driver not attached)
        counter (driver not attached)
        interrupt (driver not attached)
        SUNW,fdtwo, instance #0
        auxio (driver not attached)
        power (driver not attached)
    memory (driver not attached)
    virtual-memory (driver not attached)
    eccmemctl (driver not attached)
    TI,TMS390Z55 (driver not attached)
    pseudo, instance #0


No comments: