Date Patch was Installed

Thread Tools Search this Thread
Operating Systems AIX Date Patch was Installed
# 1  
Old 02-21-2008
Date Patch was Installed

HI All,

Is it possible to find from An AIX server when a Patch was installed like by using "instfix" with a parameter that shows when was this installed.

Thank You
# 2  
Old 02-21-2008
Yes, that is possible. Use the "-h" (history) parameter of lslpp. For example, to see the history for all the bos.adt.* packages issue "lslpp -ah bos.adt.*", for a colon-separated list of all packages installed and their history issue "lslpp -hc", etc.

I hope this helps.

# 3  
Old 02-21-2008
You can use smit. select Software Installation and Maintenance, List Software and Related information, List Installed Software and Related Information, Show Software Installation History. You can then display all or select the Software that you want to see.
# 4  
Old 02-21-2008

I used this command to find a list of maintanace levels that have been applied on the server "instfix -i | grep AIX_ML" and got the following output:
All filesets for were found.
All filesets for 5300-01_AIX_ML were found.
All filesets for 5300-02_AIX_ML were found.
All filesets for 5300-03_AIX_ML were found.
All filesets for 5300-04_AIX_ML were found.
All filesets for 5300-05_AIX_ML were found.
All filesets for 5300-06_AIX_ML were found.
All filesets for 5300-07_AIX_ML were found.

Now can i find when these were applied?
# 5  
Old 02-21-2008
Yes, you can. But you have to understand, that "maintenance level" refers to a collection of filesets on a certain release level.

It works like that: the operating system consists of several "software packages": collections of files organized in some way. For instance there is "bos" (the "base operating system") package group with the package-groups "bos.adt" (adt=application development tools), "bos.diag" (daignostic tools), "bos.msg" (messages), etc. in each of these groups are one or several packages or package groups. The system is recursively hierarchical, similar to the file system. For instance the bos.msg group contains the groups bos.msg.de_DE (german messages), bos.msg.en_US (english messages), etc. The group "bos.msg.en_US" contains the filesets (multiprocessor kernel messages in english), bos.msg.en_US.rte (base OS runtime environment messages in english), and so on.

Issue a "lslpp -l" to see all the packages installed in your system along with releases. A possbile output would look like this:

# lslpp -l
  Fileset                      Level  State      Description         
Path: /usr/lib/objrepos


  bos.adt.include   COMMITTED  Base Application Development
                                                 Include Files
  bos.adt.insttools  COMMITTED  Tool to Create installp
  bos.adt.lib       COMMITTED  Base Application Development
  bos.adt.libm      COMMITTED  Base Application Development
                                                 Math Library      COMMITTED  Base Profiling Support
  bos.adt.prt_tools  COMMITTED  Printer Support Development
  bos.adt.samples   COMMITTED  Base Operating System Samples
  bos.adt.sccs      COMMITTED  SCCS Application Development
  bos.adt.syscalls  COMMITTED  System Calls Application
                                                 Development Toolkit
  bos.adt.utils     COMMITTED  Base Application Development
                                                 Utilities - lex and yacc
                    COMMITTED  Alternate Disk Installation


As you can see the filesets have a 4-part release information. The first two parts are the OS version/revision, the last part is a hint to the maintenance level/corrective service level the package was last changed. "4x" means the package was built anew when maintenance level 4 was rolled out. In the above example the package bos.adt.utils was last updated when maintenance level 4 was defined.

A "maintenance level" is now just a definition of a bunch of such packages with a certain revision level. In the above example this means that all packages at level "" have to be installed to make the machine consider itself to be at maintenance level 4. You might also notice that "bos.adt.prt_tools" is only at without the maintenance level reported to be less than 4. The reason is that the version of this package is not included in the maintenance-level-4-definition. So it doesn't matter.

To come back to your question:

Yes, you can find out when a certain maintenance level was installed provided that all the filesets necessary for the ML have been installed at the same time. In this case get a list of the possible ML-keywords by issuing "instfix -i | grep AIX_ML", take one of the keywords and issue "instfix -ick <ML-keyword>" to get a list of a necessary revisons of filesets in a certain ML. Issue now a "lslpp -ha <package>" for every of these packages and find out when they have been installed.

But you could also install a single fileset without updating the rest. The machine would then become aware of a newer ML and report that for the new ML some filesets are missing (use "instfix -ick <ML-keyword> | grep ':-:'" to get a list of "downlevel" filesets, that is: filesets which are below the definition for a certain ML), but nevertheless this would work without problems as long as the prerequisites of all the individual filesets are fulfilled.

Here is an example for the procedure: we want to find out when the filesets for ML 4 have been installed. The relevant parts are marked bold:

# instfix -i | grep AIX_ML
    All filesets for were found.
    Not all filesets for 5300-01_AIX_ML were found.
    All filesets for 5300-02_AIX_ML were found.
    All filesets for 5300-03_AIX_ML were found.
    All filesets for 5300-04_AIX_ML were found.

# instfix -qick 5300-04_AIX_ML | more
5300-04_AIX_ML:bos.adt.base: 5300-04 Update
5300-04_AIX_ML:bos.adt.debug: 5300-04 Update 5300-04 Update
5300-04_AIX_ML:bos.adt.include: 5300-04 Update
5300-04_AIX_ML:bos.adt.insttools: 5300-04 Update
5300-04_AIX_ML:bos.adt.lib: 5300-04 Update
5300-04_AIX_ML:bos.adt.libm: 5300-04 Update 5300-04 Update

# lslpp -ha bos.adt.base
  Fileset         Level     Action       Status       Date         Time        
Path: /usr/lib/objrepos
           COMMIT       COMPLETE     05/02/06     15:15:47    
           APPLY        COMPLETE     05/02/06     15:15:47    
          COMMIT       COMPLETE     05/02/06     15:44:53    
          APPLY        COMPLETE     05/02/06     15:38:46    

# lslpp -ha bos.adt.debug
  Fileset         Level     Action       Status       Date         Time        
Path: /usr/lib/objrepos
           COMMIT       COMPLETE     05/02/06     15:49:41    
           APPLY        COMPLETE     05/02/06     15:49:41    
          COMMIT       COMPLETE     05/02/06     15:50:46    
          APPLY        COMPLETE     05/02/06     15:50:31

So the filesets for maintenance level 4 have been updated on Feb. 5th 2006.

I hope this helps.

# 6  
Old 02-21-2008
Thanks i think this will help
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Last Patch Date

I am trying to determine the date of the last patch on a Solaris machine. I know that I can get the last patch name with the uname -a command but that does give me any date info. Any ideas? (1 Reply)
Discussion started by: tdriley29
1 Replies

2. Solaris

List of patches and date installed

Does anyone know of a command that would show the list of patches installed and the date it was installed? My understanding is that "showrev -p" would show patches but not the date they were installed. I'm looking for this on a Solaris 10 server. Thanks. (2 Replies)
Discussion started by: ixauditor
2 Replies

3. Red Hat

RedHat patch date?

Other than looking at the dates when pkgs were applied in /var/log/yum.log* how can I tell when the last time a RedHat system was patched? My systems don't have regular access to the web. Thanks in advance. ---------- Post updated at 02:37 PM ---------- Previous update was at 02:27 PM... (0 Replies)
Discussion started by: toor13
0 Replies

4. Linux

Get the OS Installed date

Hi, How to get OS installed date in Linux using terminal command? Thanks is advance (3 Replies)
Discussion started by: forumguest
3 Replies

5. Linux

How to get installed kernel patch info

Hi I want to get the info about which version of kernel patchs are installed in my system. I am using susu10. Rgds, ashokd009 (1 Reply)
Discussion started by: ashokd009
1 Replies

6. Solaris

Patch date

Hello everyone What command I need to use for to know the date about install some patch. For example I was looking the patch 102530-01 I use the command patchadd -p (the number of the patch) or the command pkginfo -p (the number of the patch) but what command I need to use to know about the... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

7. Solaris

get installed patch list

Hello all is there any way to get installed patch list on Solaris ? thanks (1 Reply)
Discussion started by: umen
1 Replies

8. UNIX for Dummies Questions & Answers

Need Patch Installation Date

Can someone tell me how to get the installation date of a patch? I've done a showrev which I assume tells me if the patch cluster has been installed. It shows...SunOS 5.8 Generic 108528-23 June 2003. I'm assuming June 2003 is the patch release date. Is that right? How can I determine the... (1 Reply)
Discussion started by: kiloflash
1 Replies

9. UNIX for Advanced & Expert Users

Is A Patch installed?

Is there a way to find out if a patch has been applied? I'm running Solaris 2.6 on an Ultra Sparc machine. Our UNIX System Admin has left the company and unfortunately for the time being I'm the man. I need to know if he installed Kernel patch 103640-05 and Thread patch 103920-05 before I can... (5 Replies)
Discussion started by: dman110168
5 Replies
Login or Register to Ask a Question