In that case..

uname -a will give the patch release (my sun: 117350 is the kernel patch,
and 14 is the release). Then, go to http://sunsolve.sun.com/ and compare the
release number for the cluster patch (today, it's 117350-26; I'm late).

Maybe You could code a perl script using expect/telnet to do all this
automagically.

Regards,

Leo

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darren Dunham
Sent: Wednesday, August 03, 2005 6:36 PM
To: [email protected]
Subject: Re: [Solaris-Users] File/command that shows current patch cluster

> For instance, say I install a recommended patch cluster issued by Sun 
> with a release date of 6/19/2003. Obviously that will install a bunch of 
> patches on my system. I'm not necessarily concerned with what individual 
> patches were installed, rather is there a file or command that will tell 
> someone after me (or if I forget) that the 6/19/2003 bundle was what was 
> installed?

No.  As far as the system is concerned, there's no such thing as a
bundle.  It's just someone running 'patchadd' a whole bunch of times. 

If the cluster was installed with the normal "install_cluster" script,
then there's a log of the installation in
/var/sadm/install_log/Solaris_8_Recommended_log.  You could compare all
the patches that it attempted to install with any patch clusters you may
have.  Or you could recreate the patch cluster by reassembling all the
patches in the log.

If multiple clusters have been applied, then the log is appended.  Make
sure you've got the right start and end points within it. 

You can use the timestamp on the log to give you a maximum date that the
cluster was released, but I don't think there's any obvious "cluster
date" within.

-- 
Darren Dunham                                           [EMAIL PROTECTED]
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to