HPE 9000 and HPE e3000 Servers
1834456 Members
3060 Online
110067 Solutions
New Discussion

How to identify kernel patch level information

 
SOLVED
Go to solution
Rajeev Anand
Occasional Contributor

How to identify kernel patch level information

Hi

I would like to know if there is a command to find out the kernel level patch applied to the HPUX box. Any sample outputs will be of great help.

Thanks in advance for your help.

Regards
Rajeev
4 REPLIES 4
Eugeny Brychkov
Honored Contributor

Re: How to identify kernel patch level information

Rajeev,
swlist -l bundle (for patch bundles)
swlist -l product (for products installed)
swlist -l fileset (for all detailed patch information)
swlist -l fileset -a state (for patch state - all should be configured)
Eugeny
Michael Duthie
Trusted Contributor

Re: How to identify kernel patch level information

I guess you mean the HPUX patch level

root@ipc1md22:/ # swlist
# Initializing...
# Contacting target "ipc1md22"...
#
# Target: ipc1md22:/
#

#
# Bundle(s):
#

A3495A B.11.00.05 HP-PB 100BT LAN/9000
B2491BA B.11.00 MirrorDisk/UX
B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
B5725AA B.2.3.205 HP-UX Installation Utilities (Ignite-UX)
B6835AA B.11.00.03 Netscape 6.01
B8342AA B.11.00.05 Netscape Communicator 4.75
HPUXEng32RT B.11.00 English HP-UX 32-bit Runtime Environment
Ignite-UX-10-01 B.2.5.136 HP-UX Installation Utilities for Install
Ignite-UX-10-10 B.2.5.136 HP-UX Installation Utilities for Install
Ignite-UX-10-20 B.2.5.136 HP-UX Installation Utilities for Install
Ignite-UX-11-00 B.2.5.136 HP-UX Installation Utilities for Install
J4189-11001B E.10.18 Hewlett-Packard JetDirect Printer Instal
OnlineDiag B.11.00.12.07 HPUX 11.0 Support Tools Bundle
QPK1100 B.11.00.54.7 Quality Pack for HP-UX 11.00, September
XSWGR1100 B.11.00.45 HP-UX Extension Pack, May 1999
XSWHWCR1100

In this case B.11.00.45 ... looks like I should patch this box :-)
Darren Prior
Honored Contributor
Solution

Re: How to identify kernel patch level information

Hi Rajeev,

swlist -l fileset | grep PHKL will show you all PHKL patches.

You can also use what /stand/vmunix to see patches listed in the kernel.

regards,

Darren.
Calm down. It's only ones and zeros...
Bill Hassell
Honored Contributor

Re: How to identify kernel patch level information

The bundle option shows you the most recent bundle of patches. However, there may be numerous individual patches that have been added after the latest bundle. There is no enforcement that adding a particular patch forces the installation of all other patches so the concept of a patch level begins to degrade.

The ideal methodology is to use the latest Quality Patch bundle a couple of times each year. That way, the swlist -l bundle command will give you a simple overview of the patch levels. Another useful tool is the check_patches and security_patch_check commands. check_patches is built-in to 11.0 and later, while the security_patch_check tool must be downloaded from http://software.hp.com


Bill Hassell, sysadmin