1834590 Members
3722 Online
110069 Solutions
New Discussion

Re: patch level

 
SOLVED
Go to solution
Shivkumar
Super Advisor

patch level

Dear Sirs,

What is the command to find the current patch level ?

Thanks,
Shiv
7 REPLIES 7
Cem Tugrul
Esteemed Contributor
Solution

Re: patch level

Shiv,

http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=13262

good luck,
Our greatest duty in this life is to help others. And please, if you can't
H.Merijn Brand (procura
Honored Contributor

Re: patch level

Hard to say. Depends on how you install patches.

If you install patches from the bundles, use swlist:

a5:/u/usr/merijn 45 > swlist | grep -e HWE -e QPK -e Ext
HWE1100 B.11.00.0403.3 Hardware Enablement Patches for HP-UX 11.00, March 2004
QPK1100 B.11.00.64.4 Quality Pack for HP-UX 11.00, March 2004
a5:/u/usr/merijn 46 >

If you install single patches, there is no way to tell a patch level. The latest patch number *might* give you a hint:

a5:/u/usr/merijn 46 > swlist | grep '^ PH' | sort +0.7n | tail
PHCO_25883 1.0 cumulative 10.20 libc compatibility support
PHCO_25902 1.0 cumulative SAM/ObAM patch
PHCO_24904 1.0 libc cumulative man page patch
PHKL_24905 1.0 VxFS mount/unmount problems.
PHNE_25913 1.0 Cumulative Mux and Pty Patch
PHNE_21915 1.0 elm patch
PHKL_22932 1.0 ufs(hfs) deadlock causes the system hang
PHKL_23956 1.0 Profile, virtual timers and disabling fix.
PHCO_29959 1.0 Pthread library cumulative patch
PHSS_30967 1.0 ld(1) and linker tools cumulative patch
a5:/u/usr/merijn 47 >

30967 is the highest number

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Mahesh Kumar Malik
Honored Contributor

Re: patch level

Hi Shiv

Try swlsit |grep patch

Regards
Mahesh
Mahesh Kumar Malik
Honored Contributor

Re: patch level

Hi Shiv

Try swlist |grep patch

Regards
Mahesh
KRS_1
Frequent Advisor

Re: patch level

swlist -l patch | grep -i patch_name
lawrenzo
Trusted Contributor

Re: patch level

here is another:

# swlist -l patch -a patch_state
# show_patches
# check_patches
# swlist -l patch

Hope these help
hello
Basheer_2
Trusted Contributor

Re: patch level

One thing you can do to find out how currnet/old your patches are

goto itrc
and download/run cpm_collect.sh

and upload yourservername.??
then this will display a long/short list

2) the other way is to
swlist |grep -i -e bundl -e hwen -e gold -e online
# Contacting target "goldux"...
# Target: goldux:/
# Bundle(s):
BUNDLE11i B.11.11.0306.1 Required Patch Bundle for HP-UX 11i, June 2003
GOLDAPPS11i B.11.11.0412.5 Gold Applications Patches for HP-UX 11i v1, December 2004
GOLDBASE11i B.11.11.0412.5 Gold Base Patches for HP-UX 11i v1, December 2004
HWEnable11i B.11.11.0412.5 Hardware Enablement Patches for HP-UX 11i v1, December 2004
OnlineDiag B.11.11.15.13 HPUX 11.11 Support Tools Bundle, Dec 2004

This will tell you which bundle, here its fro DEC 2004