1753672 Members
5866 Online
108799 Solutions
New Discussion юеВ

show_patches

 
in_kunal
Occasional Advisor

show_patches

Need help in using show_patches command.

How to retrieve patch version, date, installed by; ussing show_patches command.
Also what is equivalent to an application of windows in HP UX system?
As I want to get application installed on a HP UX system and swlist is giving me patches, bundles, depot etc.
How I can get only applications and only patches.

Thanks and Regards
6 REPLIES 6
Jeeshan
Honored Contributor

Re: show_patches

#swlist -l patch
a warrior never quits
F Verschuren
Esteemed Contributor

Re: show_patches

swlist -v -l patch
will show you all the details needed.

Freek
IT Response
Esteemed Contributor

Re: show_patches

Try:
/usr/contrib/bin/show_patches > patches.txt

Check man show_patches
Will give you
# show_patches [-a] [-s] [-i] [-o] [-t] [-d target] [-l product|fileset]

-a Display the active patches on the system. Active patches are those which have been installed but not superseded by newer patches on the target.
-s Display the superseded patches on the system. Superseded patches are those that have been superseded by newer patches installed on the target.
-d target
Specify a target system or depot to analyze. Defaults to local system.
-i Display any Special Installation Instructions associated with any listed patch. The Special Installation Instructions document manual operations that may be required for successful installation.
-o Display any Other Dependencies associated with any listed patch. These are optional or complex dependencies that may require manual processing.
-t Do not list a patch unless it is displaying Special Installation Instructions or Other Dependencies.
-l level
Display the patch information at the SD product or fileset level. Note: This option is ignored if the "-i" or "-o" options are selected.
Suraj K Sankari
Honored Contributor

Re: show_patches

Hi,

Here is the command to show the patches

swlist -l patch

Suraj
Analyst
Trusted Contributor

Re: show_patches

Hi Kunal,

show_patches -(ioaldts)

Use the options to get the exact information abt the patch.

And additonally check,

swlist -l bundle
swlist -l fileset
swlist -l patch
use grep -i with this option to find exact name.

Thz,
Analyst.
Dennis Handly
Acclaimed Contributor

Re: show_patches

>How I can get only applications

As Analyst mentioned, you can use "swlist -l bundle" or "swlist -l product" to list all of the SD bundles and SD products on the system.
This will work for every application installed with swinstall.