1844022 Members
2709 Online
110226 Solutions
New Discussion

Install Patch

 
SOLVED
Go to solution
O'lnes
Regular Advisor

Install Patch

How to check what patch was install into the system and what patch level it is?
Thanks
Andy
4 REPLIES 4
Keely Jackson
Trusted Contributor

Re: Install Patch

Hi

Try

swlist | more

This will show you most things or if you just want pathces

swlist -l product

Checkout man swlist.

Cheers
Keely
Live long and prosper
Alex Glennie
Honored Contributor
Solution

Re: Install Patch

You may like to check /usr/sbin/swinstall -l fileset | grep PH ?


As to when it was installed view the SD log files in /var/adm/sw ..... ?

more info in the man page for swinstall .
Olav Baadsvik
Esteemed Contributor

Re: Install Patch


Hi,

On hp-ux 11.x the best way to check
what patches are active on a system is
by using the following command:

/usr/contrib/bin/show_patches

If you do not have the show_patches command, please install the patch

PHCO_24347 (hp-ux 11.00)
or
PHCO_24630 (hp-ux 11.11)

Unlike a swlist -l fileset | grep PH
show_patches will give you the patches
that are active on the system.
swlist will also list superseded patches

Olav

O'lnes
Regular Advisor

Re: Install Patch

But i found the output of swlist is not match the file of '/var/adm/sw/products' , does the output of swlist is the existing patch in the system? Thanks.
Andy