Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to find out a way to display the LATEST patches installed in a Solaris box. I know the existence of the commands:

showrev - p
patchadd -p

But I'd like to see a list of patches sorted by install date just to confirm that the box has the latest patch installed.

share|improve this question

migrated from Sep 13 '11 at 16:40

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

Patches are packages, packages live in in a directory tree for each package which is here:


The patches are in


ls -lrt for each one shows the order they were created on the system. Patches are NOT necessarily applied in chronological order. This gives you a rough idea, though.

Did you try the smpatch utility to see if there are pending required patches?

smpatch analyze 

shows what smpatch thinks you are missing.

Reply to sockets issue: java has issues that cause this for smpatch Bug ID: 2173292 Bug ID: 6771432 See or

share|improve this answer
I think that's a good idea, at least that does give me a list of installed patches sorted by installed date. The smpatch analyze throws the following error: Failure: Cannot connect to retrieve detectors.jar: Unconnected sockets not implemented – danboh Sep 14 '11 at 20:03
See socket issues above, added to answer – jim mcnamara Sep 14 '11 at 20:40

Check PCA Patch Check Advanced

It's a perl script. You will need an Oracle account and access to internet.

If you want to know if a patch is installed, obsoleted or there is an update with "pca " will show it

PCA is a perl script which generates lists of installed and missing patches for Oracle Solaris systems and optionally downloads and installs patches. By default, if run without any option or operand, PCA shows a list of all patches which are not installed in their most recent revision.

Here's some sample output from pca -l all, which shows a list of all installed and missing patches:

  Using /var/tmp/patchdiag.xref from Feb/29/04
  Host: myhost (SunOS 5.9/Generic_117171-09/sparc/sun4u)
  List: all (7/2182)
  Patch  IR   CR RSB Age Synopsis
  ------ -- - -- --- --- --------------------------------------------------
  112785 42 < 43 RS-  18 X11 6.6.1: Xsun patch
  112787 01 = 01 --- 999 X11 6.6.1: twm patch
  112807 10 = 10 RS-   9 CDE 1.5: dtlogin patch
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.