Sponsored Content
Operating Systems AIX List of Installed patches for AIX from given set of patches Post 302687877 by bakunin on Friday 17th of August 2012 07:16:54 AM
Old 08-17-2012
Create a list of all installed filesets using the lslpp command. Since you intend to analyse it by a script i suggest you use the "-c" switch, which gives a colon-separated one-line-per-fileset output ideally suited to using it in scripts.

Then use a grep -f <your.list.file> <fileset.list> of some sorts to find the filesets on your lists which are installed - misses will be not installed at all.

Depending on the exact format of your list you will have to tweak this general sketch into a script, but the idea should be obvious.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to see all installed PATCHES

Hi all I am using HPUX11.00 i want to know how to see all installed PATCHES ..and also to see any perticular patch has been installed or not solaris showrev -p does not work in HPUX please suggest any command thanks praful (1 Reply)
Discussion started by: Prafulla
1 Replies

2. Solaris

How to find out installed patches on Sun5.9

Hi Unix Experts, I'm told to install WebSphere MQ on Sun 5.9 box. Before I install it, my task is to find out what OS patches have already installed on the box. I tried pkginfo -i command but it gives all of the packages installed. I want to find out a specific patch has been installed or... (1 Reply)
Discussion started by: hkhan12
1 Replies

3. Solaris

OS patches

Hi all, I am working on SUN-fire server solaris-10 How to find out what & how much " OS patches " installed on it?? plz help me out .:( (3 Replies)
Discussion started by: saurabh84g
3 Replies

4. AIX

command to list all installed patches

hi all i need an command to list all installed patches in aix 5.3 (5 Replies)
Discussion started by: maxim42
5 Replies

5. AIX

OS Patches installed but they seem as not installed

Hello everyone: I've installed an OS patch into AIX 6.1 by running the following command: instfix -d /tmp/6100-02-03 -k "IZ41855" however it seem not installed instfix -i -k "IZ41855" There was no data for IZ41855 in the fix database. what am I doing wrong? (8 Replies)
Discussion started by: edgarvm
8 Replies

6. AIX

file set not getting installed in aix

Hi One of the file set is not getting installed in aix. ========================================================================================= cbspsap01:/ # lppchk -v lppchk: The following filesets need to be installed or corrected to bring the system to a consistent state:... (1 Reply)
Discussion started by: newtoaixos
1 Replies

7. AIX

applying patches in aix 5.3

Hi Admins, Basically i am HPUX guy.HP will release patch bundles every three months and the same we are applying on servers as proactive steps. Please let me know how it happens with AIX. My servers are AIX 5.3 with TL 10 and some are TL 7. These servers are installed 2 years back and... (1 Reply)
Discussion started by: newaix
1 Replies

8. HP-UX

Patches hp-ux

Hi, I donīt have support HP, so I donīt get download patches on itrc. Somebody know a free site to download HP-UX patches? (3 Replies)
Discussion started by: quimera
3 Replies

9. Solaris

need help with message: no patches installed

Hi Folks, I am getting the following error when trying to see installed patches on my Solaris 9 system :wall: # patchadd -p No patches installed # Any help will be much appreciated Thanks in advance (1 Reply)
Discussion started by: momin
1 Replies

10. 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
cleanup(1M)															       cleanup(1M)

NAME
cleanup - HP-UX patch cleanup utility SYNOPSIS
DESCRIPTION
The command provides functions useful when dealing with HP-UX patches on HP-UX. The command logs all information to Options recognizes the following options: Preview the task but do not actually perform the requested action. Notify the user of tasks and request confirmation before performing the requested action. Commit patches superseded at least number times. This option is a front-end to the option of (see swmodify(1M)) that provides an easier interface to commit multiple patches at once. Remove patches in the specified software depot that have been superseded by patches also available from the depot. Specifies whether the software depot contains patches for HP-UX 10.X or 11.X releases. This option is only valid with the option. If the option is not specified, it defaults to HP-UX 11.X patches. Specifies whether patches in the software depot that contain a corequisite or prerequisite attribute specifying one of the superseded patches as a dependency should also be removed. This option is valid only with the option. If the option is not specified, it defaults to true. Remove HP-UX 10.X patches that remain in the Installed Product Database after an upgrade to HP-UX 11.X. These patches are removed from the IPD so that they are no longer displayed in the output of the command (see swlist(1M)). The HP-UX 10.X patch files are also removed from Correct the attribute for HP-UX 11.X patches. Recommendations The command should be executed after updating to HP-UX 11.X from HP-UX 10.20. It is not necessary to execute after updating from one ver- sion of HP-UX 11.X software to another because SD-UX will properly remove 11.X patch information from the IPD in these situations. The command should be executed whenever patches are added to a software depot. It is not a requirement that superseded 11.X patches be removed from a software depot, but it is a recommendation to conserve disk space and to avoid confusion. If superseded patches exist in the same depot as patches that supersede them, SD-UX on HP-UX 11.X will handle the situation properly. The command can be executed to commit all patches that have been superseded at least the specified number of times. The only benefit from committing patches is that disk space will be recovered in the The command can be executed to insure that the attribute of all patch filesets is set correctly. There are several known situations where the attribute will be set incorrectly. This command can be run at any time, but will be most useful after a system has been installed using Ignite-UX. AVAILABILITY
This command is standard on HP-UX 11i v3. On 11i v2 it is available in patch PHCO_32220 or a superseding patch. On 11i v1 it is available in patch PHCO_27780 or a superseding patch. WARNINGS
Extreme care should be used when committing patches. Once a patch has been committed, it cannot be removed from the system. Patches should only be committed when you are satisfied with their behavior. Recovering disk space should not be the only factor considered when committing patches. AUTHOR
was developed by HP. SEE ALSO
show_patches(1), sysdiff(1), check_patches(1M), swlist(1M), swmodify(1M), swremove(1M), sd(4). cleanup(1M)
All times are GMT -4. The time now is 12:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy