Operating System - HP-UX
1752307 Members
5236 Online
108786 Solutions
New Discussion юеВ

Using swlist to find recently installed patches

 
SOLVED
Go to solution
Tom Wolf_3
Valued Contributor

Using swlist to find recently installed patches

Hello, we applied some patches a few days ago to one of our HP-UX 11.11 servers using swinstall. I now need to generate a list of all the patches that were installed at that time. Rather than parsing through the swinstall and swagent logs, I was hoping I could use some variation of the swlist command to generate a listing of all the patches I installed a few days ago. I looked at the attributes for software distributor but didn't see one that specified an installation date.

Does anyone have suggestions for getting this list of recently installed patches?


Thanks in advance.


Tom Wolf

4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: Using swlist to find recently installed patches

Hi Tom:

# swlist -l product -a date

Regards!

...JRF...
Ivan Krastev
Honored Contributor

Re: Using swlist to find recently installed patches

If you are listing product attributes use install_date.

From man page of sd(4) http://docs.hp.com/en/B2355-90682/sd.4.html :

install_date The installation date of the product or bundle.


regards,
ivan
Bob E Campbell
Honored Contributor

Re: Using swlist to find recently installed patches

Try:

swlist -l product -a install_date *,c=patch
Dennis Handly
Acclaimed Contributor