Verifying Solaris 11 version
Normally we would issue the
uname -r to determine the version of Solaris installed on a system, and review the
/etc/release file for the release.
To determine the release level:
$ uname -r 5.11 $ cat /etc/release Oracle Solaris 11.1 SPARC
However, the above is a little granular and doesn't show the actually system version installed.
Starting with Solaris 11, best practices suggest that we use the output from
pkg info to obtain more detailed information about the Solaris 11 os version such as the update level, SRU and build:
$ pkg info core-os Name: system/core-os Summary: Core Solaris Description: Operating system core utilities, daemons, and configuration files. Category: System/Core State: Installed Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.2.0.0.42.2 Packaging Date: Tue Jun 24 18:49:27 2014 Size: 31.41 MB FMRI: pkg://firstname.lastname@example.org,5.11-0.175.2.0.0.42.2:20140624T184927Z
$ pkg list entire entire (solaris) 0.5.11-0.175.3.1.0.5.0 i--
Or an even easier solution:
$ pkg info entire | grep Summary Summary: entire incorporation including Support Repository Update (Oracle Solaris 22.214.171.124.0).