- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to detect if a patch is installed ?
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
Forums
Discussions
Discussions
Discussions
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
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
04-01-2006 11:47 AM
04-01-2006 11:47 AM
Thanks for your pointer
tj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 11:55 AM
04-01-2006 11:55 AM
Re: how to detect if a patch is installed ?
bash-2.05a# /usr/sbin/swlist -l product 'PHCO_23702';echo $?
# Initializing...
# Contacting target "hp11v1"...
#
# Target: hp11v1:/
#
PHCO_23702 1.0 cumulative header file patch for prot.h
0
bash-2.05a# /usr/sbin/swlist -l product 'PHCO_23703';echo $?
# Initializing...
# Contacting target "hp11v1"...
ERROR: Software "PHCO_23703" was not found on host "hp11v1:/".
1
bash-2.05a#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 12:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 03:26 PM
04-01-2006 03:26 PM
Re: how to detect if a patch is installed ?
You can do the following,
If you are in 11.11, run the following command
# /usr/contrib/bin/show_patches | grep -i patch_name
# swlist -l product
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2006 03:31 PM
04-01-2006 03:31 PM
Re: how to detect if a patch is installed ?
I am impressed by HP-UX forum's support quality.
tj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2006 04:20 PM
04-02-2006 04:20 PM
Re: how to detect if a patch is installed ?
You can also invoke the following command to check if dependent/superceded patches for a particular patch ( "Patch Name" ) is installed or not:
/usr/sbin/swlist -l patch -a patch_state -a supersedes *.*,c=patch | grep "Patch Name"
-Siddhartha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2006 04:52 PM
04-02-2006 04:52 PM
Re: how to detect if a patch is installed ?
The following command is the solution:
swlist -l patch "
That's OK