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
tag2name(8)						      System Manager's Manual						       tag2name(8)

NAME
tag2name - Display the path name of an AdvFS file SYNOPSIS
/sbin/advfs/tag2name tags_directory/file_tag /sbin/advfs/tag2name [-r] domain fileset_id file_tag OPTIONS
Specify the [-r] option to operate on the raw device (character device special file) of the fileset instead of the block device. OPERANDS
Specifies the name of an AdvFS domain. Specifies the name of an AdvFS fileset using the following format: Specify the -S tag to force the command to interpret the name you supply as a fileset name. Specify the fileset by entering either the name of the fileset, fileset, or the file's fileset tag number, -T fileset_tag. Specifies the relative path of the AdvFS tags directory for a fileset. If you do not spec- ify this directory, the default is mount_point/.tags. Specifies an AdvFS file tag number. DESCRIPTION
Internally, AdvFS identifies files by tag numbers (similar to inodes in UFS). Internal messages, error messages, and output from diagnostic utilities usually specify a tag number in place of a file name. Use the tag2name command to determine the name and path of an AdvFS file that is identified by a tag number. If you enter an invalid tag number, the command returns the range of the valid tags for the fileset. Mounted Filesets Each mounted AdvFS fileset has a directory in its mount point. To obtain a file name, specify the path to the directory for the fileset, followed by the tag number. The full path name of the corresponding file is displayed to stdout. This syntax uses AdvFS system calls. Unmounted Filesets When you use the second form, the utility does not use AdvFS code and does not depend on the filset being mounted. The path name of the file is relative to the fileset and is displayed on stdout. One use of the second form is to obtain names of files from a fileset that is unmounted and might produce a domain panic or a system panic if it were mounted. NOTES
An active domain, which is a domain with one or more of its filesets mounted, has all of its volumes opened using block device special files. These devices cannot be opened a second time without first being unmounted. However, the character device special files for the volumes can be opened more than once while still mounted. It can be misleading to use the second form of this utility on a domain with mounted filesets. Unlike the first form of the utility, the second form does not synchronize its read requests with AdvFS file domain read and write requests. To avoid this problem, unmount all the active filesets in the domain before using the second form of this utility. For example, the AdvFS can be writing to the disk as the utility is reading from the disk. Therefore, when you run the utility, metadata may not have been flushed in time for the utility to read it and consecutive reads of the same file page may return unpredictable or con- tradictory results. [The domain is not harmed.] RESTRICTIONS
The second form of this utility can fail to open a block device, even when there are no filesets mounted for the domain and the AdvFS dae- mon, advfsd is running. The daemon, as it runs, activates the domain for a brief time. If the tag2name utility fails in this situation, run it again. You must be the root user to use the tag2name utility. The tag you specify must be numeric and greater than 1. EXAMPLES
The following example displays the file name corresponding to tag 5 in the usr fileset. It assumes the current working directory is /usr: # /sbin/advfs/tag2name .tags/5 /usr/quota.group The following example displays the file name of the file whose tag is 145 in domain_1 fileset_1: # /sbin/advfs/tag2name domain_1 fileset_1 145 joe/save/oldfile FILES
Specifies the command path. Specifies the volumes in the domain. SEE ALSO
advfs(4) tag2name(8)
All times are GMT -4. The time now is 12:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy