1834463 Members
3138 Online
110067 Solutions
New Discussion

version and patches

 
SOLVED
Go to solution
Jason Reed
Occasional Advisor

version and patches

How can I find out exactly what version of HP-UX I am running, and which patches have already been installed?
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: version and patches

Hi Jason:

# uname -a

# swlist -l product

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: version and patches

Hi Jason:

Oops. "swlist -l fileset" is better.

...JRF...
James A. Donovan
Honored Contributor

Re: version and patches

If you're running HP-UX 11.00, also check /usr/contrib/bin for the show_patches script. If you have it, this script will give you a listing of which patches are currently active on your system.
Remember, wherever you go, there you are...
Patrick Wallek
Honored Contributor
Solution

Re: version and patches

If you want to see just patches do a:

swlist -l fileset | grep PH

All patches begin with PH, so the grep will pull what you need. If you do not grep for PH then you will see ALL filesets installed on your system, all OS filesets and application filesets, not just patches. You can also pipe that to more so you can look at it or you can send the output to a file.

swlist -l fileset | grep PH | more

swlist -l fileset | grep PH > /tmp/patch.list