Operating System - HP-UX
1827664 Members
3495 Online
109966 Solutions
New Discussion

How do I tell if a certain patch is installed

 
David Heard
Occasional Advisor

How do I tell if a certain patch is installed

How do I tell if a certain patch is installed or if a more update one is installed?
3 REPLIES 3
erics_1
Honored Contributor

Re: How do I tell if a certain patch is installed

David,

swlist -l product|grep PHCO_XXXXX

OR

swlist -l product|grep -i

Regards,
Eric
RAC_1
Honored Contributor

Re: How do I tell if a certain patch is installed

To check if a patch is installed or not.

Run show_patches/check_patches tool

swlist -l product PH* -- Check ur patch

IF a patch has been superceded or not.

cleanup -c 1 -p

(man cleanup. -p is for preview)
There is no substitute to HARDWORK
Stuart Abramson_2
Honored Contributor

Re: How do I tell if a certain patch is installed

"show_patches" shows you what's the latest "active" patches on your system.

The following show you:

swlist has New attributes at the fileset level:

a. swlist -l fileset -a patch_state *.*,c=patch

shows: applied
superseded

b. swlist -l fileset -a supersedes *.*,c=patch | grep fr=

shows: who supersedes who

c. swlist -l fileset -a superseded_by *.*,c=patch | grep fr=

shows: who is superseded by who