1753971 Members
7720 Online
108811 Solutions
New Discussion юеВ

Re: Last patch updated

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

Last patch updated

Hi All,

I am using HPUX 10.20, 11.00, 11.11 and Linux (Suse 9 & 10) & (redhat 4).

I want to see the last patch updated and when it was updated for all above mentioned OS.

17 REPLIES 17
Ganesan R
Honored Contributor
Solution

Re: Last patch updated

Hi,

Use the below command to list the installed bundle..

#swlist -l bundle

Then use this command to find the date the bundle was installed..

#swlist -l bundle -a date

Example:

#swlist -l bundle -a date HWEnable11i
Best wishes,

Ganesh.
James R. Ferguson
Acclaimed Contributor

Re: Last patch updated

Hi Senthil:

For current HP-UX releases (at least; and 10.20 and 11.0 are long out of support) you could do:

# swlist -l product -a install_date|sort -knr2

...to list patches and products with their installation timestamp.

As for Linux distributions, you should ask that in a separate thread in the Linux family, in my opinion.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: Last patch updated

Or even something as simple as

grep PH /var/adm/sw/swagent.log |tail


Pete

Pete
Aryan
Advisor

Re: Last patch updated

hi,

If you are using HP-UX 10.x, you can
use following command.
swlist -l product PH*
On HP-UX 11.00, use:
swlist -l patch '*.*,c=patch'
or
swlist -l patch

For latest/last patch u can edit these with above replies....

Aaryan
Bob E Campbell
Honored Contributor

Re: Last patch updated

Not a lot of help for the 10.20 box, but if you install SWA onto one of the 11.11 boxes (https://www.hp.com/go/swa) you can analyze all of the 11.00 and 11.11 systems to see what updates they need. The basic report is generated using:

# swa report

The SWA page above will include links towards documentation. I would recommend building depots for all 11.00 and 11.11 patches. The basic form of that command is:

# swa get -t /your/depot/here

Sharma Sanjeev
Respected Contributor

Re: Last patch updated

Hi Senthil

Swlist is your friend here :-)

swlist -l product -a install_date

regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Steven E. Protter
Exalted Contributor

Re: Last patch updated

Shalom,

Linux does not list patches like HP, with the PH designation.

rpm -qa

Lists all installed software on the Linux distributions you list. My Suse experience is very, very limited.

What happens with Linux is:

You have

krb5-workstation-1.6.1-31.el5_3.3

installed.

You do a yum -y update (RHEL) and after a newer, more updated package is installed.

To get full benefit you need to reboot but that will apparently change with the next major kernel release.

This system has been updated but not booted, note the kernel version:
Linux bersheva.investmenttool.com 2.6.18-128.1.10.el5.centos.plusxen #1 SMP Mon May 11 08:30:44 EDT 2009 i686 i686 i386 GNU/Linux

This system has been updated and booted.
[root@modiin ~]# uname -a
Linux modiin.investmenttool.com 2.6.18-128.1.16.el5xen #1 SMP Tue Jun 30 07:20:15 EDT 2009 i686 i686 i386 GNU/Linux


The newer kernel includes patches. For RHEL, you need to refer to their website or the documentation included as a file with the kernel to get the details.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Nido
Trusted Contributor

Re: Last patch updated

Hello Senthil,

For SuSE to check the Service Pack level:

cat /etc/SuSE-release
SPident -vv

Cheers!!
" Let Villagers Be Happy!! "
senthil_kumar_1
Super Advisor

Re: Last patch updated

Hi All,

I have executed following command to view the patch installed dates.

The command used:

#swlist -l product -a install_date|sort -knr2


1)HPUX 11.11:

PHKL_26002 200502041324.54
PHKL_26074 200502041324.54
PHKL_26104 200502041324.54
PHKL_26183 200502041324.54
PHKL_26705 200502041324.54
PHKL_26719 200502041324.54
PHKL_26755 200502041324.54


2)HPUX 11.00:

PHSS_26976 200209221049.38
PHSS_25714 200209221049.37
PHSS_25718 200209221049.37
PHSS_25758 200209221049.37
PHSS_25787 200209221049.37
PHSS_25879 200209221049.37
PHSS_25982 200209221049.37


3)HPUX 10.20:

PHKL_17651 200508010032.20
PHKL_17655 200508010032.20
PHKL_17657 200508010032.20
PHKL_17658 200508010032.20
PHKL_17837 200508010032.20
PHKL_17644 200508010032.19
PHKL_17645 200508010032.19



Pls explain me the second column.

Ex: 200508010032.19.