- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how do you check the patches
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2001 05:27 AM
тАО11-10-2001 05:27 AM
how do you check the patches
How do you check the patches which is currently installed
KML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2001 05:48 AM
тАО11-10-2001 05:48 AM
Re: how do you check the patches
#swlist -l patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2001 05:51 AM
тАО11-10-2001 05:51 AM
Re: how do you check the patches
On 11.0 use:
swlist -l patch \*.\*,c=patch
On earlier than 11.0 I think you'd use:
swlist -l fileset | awk '/PHCO/ || /PHSS/ || /PHNE/ || /PHKL/'
I don't think my pre-11.0 check is the best method but I'm writing it from memory. It should get you going.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2001 05:53 AM
тАО11-10-2001 05:53 AM
Re: how do you check the patches
#swlist -l product |grep PH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2001 06:20 AM
тАО11-10-2001 06:20 AM
Re: how do you check the patches
(1) click on "IT resource center home"
http://us-support.external.hp.com/
(2) Under the "Maintenance and Support" heading click on the "more..." title
(3) Select the "customized patch bundles (custom patch manager) "
(4) Follow the instructions on how to "Collect Configurations"
It has you download a script (cpm_collect.sh) that you run on each server. The script creates a file called
You ftp this to HP, following the login instructions, then you go back to the HP site and perform analysis. You can pick and choose the patches you want, or pick them all. It will bundle these patches allowing you to install all of them at once. You can also have HP notify you when a patch is recalled or when there is a replacement available for one.
(5) Then "Perform patch analysis"
(6) Then "Custom Patch Notification"
Live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2001 07:37 AM
тАО11-10-2001 07:37 AM
Re: how do you check the patches
On 11.x there are two easy ways:
# swlist -l patch
# check_patches
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2001 02:27 PM
тАО11-10-2001 02:27 PM
Re: how do you check the patches
If you want to check if the patches are installed correctly do a 'swlist -l fileset -a state | grep -Ev "configured|^\#",. Anything that is listed needs to be fixed using swconfig or reinstall if it won't configure.
Once all filesets are configured do a 'swverify PH\*' and look through the errors in /var/adm/sw/swagent.log for missing files and other errors that are cause for concern.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2001 05:32 AM
тАО11-11-2001 05:32 AM
Re: how do you check the patches
PROBLEM
Using swlist to list active patches on an 11.X system shows all patches on the system including superseded patches. Is it possible to list only active patches?
RESOLUTION
The patching subsystem was much improved at the 11.00 release of HP-UX. This is detailed in the /usr/share/doc/patch_pgrm.txt white paper on all 11.X systems. Because of this improvement, swlist now has to keep up with all patches on the system, including superseded ones. swlist can be used with
different options and grep strings to get the desired output.
The preferred way to get the desired list is to use the show_patches command that is available via a patch. The patch is PHCO_19550.
Once this patch is installed on the 11.X system the man page for show_patches can be accessed.
To get a listing of active patches on the system:
show_patches -a
**************
The latest patch that supersedes PHCO_19550 is PHCO_24347 for 11.0 systems.
For 11.11 (aka 11i) the patch you want is PHCO_24630
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2001 09:43 AM
тАО11-11-2001 09:43 AM
Re: how do you check the patches
# swlist -l patch
Or
# check_patches
for 10.x systems use
#swlist -l product |grep PH
You may also use SysInfo utility to get installed patch list besides all system information on a system.
Thanks.
Prashant.