Skip to main content

8.1.4 Checking the Software Version


8.1.4 Checking the Software Version
Log in to Oracle Solaris on a logical domain such as the control domain or root domain to check the software version.
The software version may affect system operation. To investigate the cause of a problem, change the system configuration, or do likewise, check the version of the currently operating software in advance.
Table 8-1 lists the commands for checking the software version.
Table 8-1  Commands for Checking the Software Version
Command Description
uname Displays the Oracle Solaris version.
pkg Displays the identification number of the SRU applied to Oracle Solaris 11.
showwrev Displays the number of the fix/patch applied to Oracle Solaris 10.
ldm Displays the version of Oracle VM Server for SPARC.
Checking Oracle Solaris version information
- Oracle Solaris 11
# uname -a
SunOS 2S-800-D0 5.11 11.3 sun4v sparc sun4v
                     (*1)
*1 Oracle Solaris version information
- Oracle Solaris 10
# less /etc/release
                 Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC
                                 (*1)
  Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
                          Assembled 17 January 2013
#
*1 Oracle Solaris version and release information
Checking the applied Oracle Solaris fix information
- Oracle Solaris 11
# pkg info entire
         Name : entire
      Summary : Incorporation to lock all system packages to the same build
  Description : This package constrains system package versions to the same
                build. WARNING: Proper system update and correct package
                selection depend on the presence of this incorporation.
                Removing this package will result in an unsupported system.
     Category : Meta Packages/Incorporations
        State : Installed
    Publisher : solaris
      Version : 0.5.11 (Oracle Solaris 11.3.17.x.0)
                                            (*1)
Build Release : 5.11
    (Omitted)
*1 SRU identification number (SRU 1.5)
- Oracle Solaris 10
# showrev -p
Patch: 800130-03 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWlucfg,
        (*1)
SUNWproduct-registry-root, SUNWwsr2, SUNWwsrv, SUNWjsnmp, SUNWadmj, SUNWwbapi,
        (Omitted)
Patch: 800214-05 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWlucfg,
SUNWproduct-registry-root, SUNWwsr2, SUNWwsrv, SUNWjsnmp, SUNWadmj, SUNWwbapi,
        (Omitted)
*1 Patch number
Checking the version information for Oracle VM Server for SPARC
# ldm -V
Logical Domains Manager (v 3.4.0.3.x)
                          (*1)

     (Omitted)
*1 Version of Oracle VM Server for SPARC