1833162 Members
3161 Online
110051 Solutions
New Discussion

List installed patches

 
SOLVED
Go to solution
James Colby
Advisor

List installed patches

All -

I was wondering if there was a command that I could run which would show me all of the HP-UX patches that have been installed, sorted by date installed. I am running HP-UX 11.-

Kindest regards,
James
8 REPLIES 8
Keith Johnson
Valued Contributor

Re: List installed patches

Use the swlist command:

swlist -l patches
No matter where you go...there you are.
Ivan Krastev
Honored Contributor

Re: List installed patches

Use :

swlist -l patch -a install_date | sort -kn

to get iformation about installed patches and date of installation.

regards,
ivan
Keith Johnson
Valued Contributor

Re: List installed patches

Sorry, the command should be:

swlist -l patch
No matter where you go...there you are.
James R. Ferguson
Acclaimed Contributor

Re: List installed patches

Hi James:

You can use:

# swlist -l patch -a date|grep -v ^# |sort -kM3,3 -kn4,4 -kn7,7

Regards!

...JRF...
Sandman!
Honored Contributor

Re: List installed patches

Try the cmd below:

# swlist -l patch -a create_time | sort -k2,2n
James R. Ferguson
Acclaimed Contributor
Solution

Re: List installed patches

Hi (again) James:

Nice name, BTW :-)

Sorry, the sort should have been:

# swlist -l patch -a date|grep -v ^# |sort -kn7,7 -kM3,3 -kn4,4

Regards!

...JRF...
Sandman!
Honored Contributor

Re: List installed patches

To display the creation date/time of the installed patch use the following cmd:

# swlist -l patch -a create_time -a create_date | sort -k2,2n

~cheers
Sp4admin
Trusted Contributor

Re: List installed patches

James,

You can use this command to show patches that are active or in another state. do a man show_patches.

show_patches -a ** active patche **
show_patches -s ** superseded patches **

sp,