Operating System - HP-UX
1834374 Members
2170 Online
110066 Solutions
New Discussion

Re: A question about patch level.

 
Brian Jarmy
New Member

A question about patch level.

Hello all, I need to find out which patches have been applied to my HP-UX system.

Can anyone tell me the command I can type in to find out which patches have been applied?

A simple uname -a only gives me the operating system level. I've seen the patch list (on this site) that corresponds to my OS level (B.11.00), but I need to find out if I have any others applied.

Also, I need to find out what version of the aCC compiler I have installed. Any help in that area would be GREATLY appreciated.

Sorry this is long winded, thanks for your time.

Brian
5 REPLIES 5
Wilfred Chau_1
Respected Contributor

Re: A question about patch level.

To list all software product install,

# swlist -l product

To file the version of C, either

# swlist -l fileset |grep -i ansi

or

# what /usr/bin/cc
Bruce Regittko_1
Esteemed Contributor

Re: A question about patch level.

Hi,

Since you are running 11.00, you can issue swlist -l patch to get a list of all installed patches. Unfortunately, HP-UX's uname -a does not show a "patch-level" like Solaris, etc, does.

--Bruce
www.stratech.com/training
frits damave_1
New Member

Re: A question about patch level.

On HPUX 11.0 install patch PHCO_22044 and use the commands show_patches and check_patches see the man pages for these commands. These commands can show you which patches are realy active and which ones are superseded !!!
Edward Sedgemore
Trusted Contributor

Re: A question about patch level.


To see if a high level patch bundle has been installed (which is what the majority of HP servers have) do;

swlist -l bundle | grep XSW

And you should see a bundle similar to;

XSWGR1100 B.11.00.50.5 HP-UX General Release Patches, September 2000

So you have the date there also. If nothing shows up here then to see all the patches installed do;

swlist -l fileset | grep PH

If you do swlist -l patch it shows not only patches but any filesets not in a bundle (eg. gnu stuff etc.)

Or to be sure cd to /var/adm/sw/products and do an ls, all files in uppercase PHxx_xxxx are installed patches.

Brian Jarmy
New Member

Re: A question about patch level.

THank you everyone. The information allowed me to solve my problem.