Listing version and patch information on Solaris

Use the following command to determine the version of the Sun Solaris operating system that is installed on your system:

cat /etc/release

The following output shows that the March 2005 (3/05) release is installed:

                         Solaris 10 3/05 s10_74L2a X86           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.                        Use is subject to license terms.                            Assembled 22 January 

The number 10 following the name Solaris indicates that the base operating system is Solaris 2.10.

Use the following command to list individual patches:

showrev -p

The following is an excerpt from the output of the showrev -p command:

Patch: 118844-08 Obsoletes: 119206-01, 119208-01, 119565-01 Requires: 118344-
01 Incompatibles:  Packages: SUNWcakr, SUNWcsu, SUNWcsl, SUNWckr, SUNWmdu,
SUNWmdb, SUNWmdbr, SUNWheaPatch: 119043-02 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsu
Patch: 119575-02 Obsoletes: 119268-01 Requires:  Incompatibles:  Packages:
SUNWcsuPatch: 119108-03 Obsoletes:  Requires: 119575-02 Incompatibles:  Packages:
SUNWcsu, SUNWcsr, SUNWppror, SUNWpprou, SUNWppro-plugin-sunos-base