Operating System - HP-UX
1827294 Members
1916 Online
109960 Solutions
New Discussion

Re: Command to use to display applied patches

 
SOLVED
Go to solution
Ginny Merlino
Advisor

Command to use to display applied patches

Hi,

We recently purchased two used L2000 machines.
We received them with HP 11.11 installed. I would like to find out what patch level we are installed to. Are there any commands that I could use to view this information?

Thanks!
Ginny Merlino
9 REPLIES 9
Hoefnix
Honored Contributor
Solution

Re: Command to use to display applied patches

Hi,

swlist will report what is installed on the box. If any patch bundles are installed you will see them.

swlist -l fileset will report more details.
For other options see manpage.

HTH,
Peter
Elmar P. Kolkman
Honored Contributor

Re: Command to use to display applied patches

And if you want to know which patches touched a specific file:

swlist -l file | grep

Every problem has at least one solution. Only some solutions are harder to find.
jpcast_real
Regular Advisor

Re: Command to use to display applied patches

As the other guy has said the swlist option is your best tool. It has a lot of options like

- swlist -l fileset -a state : It lists you the patches and its state
- swlist -l product : It lists you the products installed
- swlist -l bundle : It lists you the bundles (bunch of products ) installed
Here rests one who was not what he wanted and didn't want what he was
John Carr_2
Honored Contributor

Re: Command to use to display applied patches

Hi

you can also run a patch assesment to see if the servers are patched to the HP recommended levels

http://www5.itrc.hp.com/service/patch/assessSystemsPage.do?BC=patch.breadcrumb.main

John.
Ginny Merlino
Advisor

Re: Command to use to display applied patches

Thank you all for the information.

John Carr, You said there is a way to run a patch assessment. How do I do that?

Ginny
Jeff Schussele
Honored Contributor

Re: Command to use to display applied patches

Hi Ginny,

Best way to list patches is:

swlist -l patch > /tmp/patches.out

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Robert-Jan Goossens
Honored Contributor

Re: Command to use to display applied patches

Hi Ginny,

For the patch assesment tool in US try this link.

http://www1.itrc.hp.com/service/patch/wrap.do?pageKey=patch.html.propatch

Hope this helps,
Robert-Jan
John Carr_2
Honored Contributor

Re: Command to use to display applied patches

Ginny

click on the provided thread it will take you to the hp upload patch site. here click on "upload new system information" this will take you to a 3 step process.
1 download to your server the scripts cpm_collect.sh step 2 run it as any user , this create a file about patches and system information the file will be called hostname.fs step three go back to the web page and upload the file. press the submit button and follow the options you will then get a list of recommended patches for your system. its all quite easy follow the directions on the web site.

John.
Ginny Merlino
Advisor

Re: Command to use to display applied patches

Dear John Carr,

Thanks for clarifying that for me. It's greatly appreciated!

Ginny