1753468 Members
4315 Online
108794 Solutions
New Discussion юеВ

Re: Patching:

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Patching:

Ok, I am familiar with patching:
security_patch_check, quality packs, golds, the works.

I am trying to start a baseline for a certain level that all our unix 11.11 systems should be at.

For example. In solaris I can enter 'showrev -p' and it will return the kernel version.

How can I, from a simple command, take a quick look to see if my systems are at a certain kernel version? Can someone show me what the output looks like?

I no longer have access to an HP-UX system.

Thanks.
UNIX IS GOOD
7 REPLIES 7
Peter Nikitka
Honored Contributor

Re: Patching:

Hi,

one corresponding command to 'showrev -p' (with the - possible - same huge amount of information) could be

swlist 'PH*'

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Nobody's Hero
Valued Contributor

Re: Patching:

I need to know if there is a way to check for a kernel version? I wanted to see just something like a one liner stating what my generic kernel version is?
UNIX IS GOOD
DCE
Honored Contributor

Re: Patching:



swlist -l bundle | grep i gold

will list the the OS patch


swlist -l bundle | grep -i enablement

will show harware enablement patch level




Peter Nikitka
Honored Contributor

Re: Patching:

Hi,

since there is not only one file the kernel is built from, the is no one-liner.
Solaris 'uname -v' (not showrev -p) is a very rough and doubtful guess for this information, IMHO.

You can try
swlist 'PHKL*' | fgrep -i kernel

to get a less amount of information at a HP-UX box and 'fewer distance' to kernel patches.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Nobody's Hero
Valued Contributor

Re: Patching:

DCE,

Can you post the output of the commands you recommend? I dont have an HPUX system right now.
UNIX IS GOOD
Jaime Bolanos Rojas.
Honored Contributor

Re: Patching:

Nobody's Hero,

The there the output for some of the commands.

Regards,

Jaime.



Work hard when the need comes out.
DCE
Honored Contributor
Solution

Re: Patching:


Here is the output
# swlist -l bundle | grep -i gold
GOLDAPPS11i B.11.11.0406.5 Gold Applications Patches for HP-UX 11i v1, June 2004
GOLDBASE11i B.11.11.0412.5 Gold Base Patches for HP-UX 11i v1, December 2004


# swlist -l bundle | grep -i enablement
FEATURE11-11 B.11.11.0209.5 Feature Enablement Patches for HP-UX 11i, Sept 2002
HWEnable11i B.11.11.0412.5 Hardware Enablement Patches for HP-UX 11i v1, December 2004
SWPACK11i B.11.11.0406.3 Enablement Patches 11i, June 2004