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

NAME
vdf - Display disk information for AdvFS domains and filesets SYNOPSIS
/sbin/advfs/vdf [-k] [-l] domain | domain#fileset OPTIONS
Display disk blocks as 1024-byte blocks instead of the default of 512-byte blocks. When the -l option is specified, the default informa- tion for both the domain and filesets is reformatted to show the relationships between them. For example, any domain metadata displayed is the total metadata shared by filesets in the domain. OPERANDS
The full path name of an AdvFS file domain. When a domain argument is specified, the default display contains information about the number of disk blocks allocated to the domain, the number of disk blocks in use by the domain, and the number of disk blocks that are available to the domain. The name of an AdvFS fileset in an AdvFS file domain. When a domain#fileset argument is specified, the default display contains information about the number of disk blocks allocated to the fileset, the number of disk blocks in use by the fileset, and the number of disk blocks that are available to the fileset. This information is in the same format as that displayed by the df command. DESCRIPTION
The vdf utility is a script that reformats output from the showfdmn, showfsets, shfragbf, and df utilities in order to display information about the disk usage of AdvFS file domains and filesets. In addition, the utility computes and displays the sizes of metadata files in a domain or fileset. NOTES
The disk space used by clone filesets is not calculated. If clone filesets are present in the specified domain, the utility displays the following warning message: Clone fileset(s) in this domain; totals may not be accurate RESTRICTIONS
You must be the root user to use this command. The command cannot be used on filesets that are NFS mounted. All filesets in a domain must be mounted in order to calculate the disk usage of the domain. EXIT STATUS
The utility returns a value of 0 (zero) on successful completion. It returns a value of 1 on failure. EXAMPLES
The following example shows the summary information for a fileset named testfs in a domain named test. The output is the same as for the df command: # vdf test#testfs Filesystem 512-blocks Used Available Capacity Mounted on test#testfs 60000 20800 39200 35% /mnt The following example shows the summary information for a domain named usr_domain where the number of blocks used for meta- data and data equal 89% of the domain's capacity: # vdf usr_domain Domain 512-blocks Metadata Used Available Capacity usr_domain 65536 11219 47549 6768 89% The following example shows a detailed display of the domain that contains the fileset test#testfs. There are two filesets in the domain; each has a quota limit of 60,000 blocks: # vdf -l test#testfs Domain 512-blocks Metadata Used Available Capacity test 266240 5824 29128 231288 13% Fileset QuotaLimit Used Available Capacity testfs 60000 20800 39200 35% testfs2 60000 8328 51672 14% The following example shows a detailed display of a fileset that is the only fileset in the domain and that the fileset has a quota limit that is greater than the domain can hold: # vdf -l test#testfs Domain 512-blocks Metadata Used Avail- able Capacity test 266240 5824 29128 231288 13% Fileset QuotaLimit Used Available Capacity testfs 300000 20800 231288 8% FILES
SEE ALSO
Commands: df(1), showfdmn(8), showfsets(8), shfragbf(8) Files: advfs(4) vdf(8)
All times are GMT -4. The time now is 08:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy