- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: looking for a script to check 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
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
10-20-2002 04:58 PM
10-20-2002 04:58 PM
how can i check for the patches installed on my system? would there be a script?
thanks,
danny
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2002 05:28 PM
10-20-2002 05:28 PM
SolutionThere a few you can use, but they all revolve around the 'swlist' command. There is a large man page for it as well. Here are a couple of examples.
# swlist -l product
# swlist -a patch
# swlist -l patch
# swlist -l patch -a patch_state \*.\*,c=patch
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2002 05:45 PM
10-20-2002 05:45 PM
Re: looking for a script to check patches
One other command to look at is the 'check_patches' command, but only if you are running 11.x. This command will check for patches that have been superseded and can be removed. It is a big help for managing the size of your /var/adm/sw directory, as the saved patches will eat up lots of room.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2002 05:51 PM
10-20-2002 05:51 PM
Re: looking for a script to check patches
From 11.00 you can use a script named show_patches, normally located in /usr/contrib/bin. If you don't have it, these are the patches (no reboot required) :
11.00 PHCO_24347 (3*) or PHCO_27779 (latest 1*)
11i PHCO_24630 (3*) or PHCO_27780 (latest 1*)
It can various levels of patches or show active or superceded patches, i.e.
# ./show_patches -a
Active Patch
Patch Description
---------- -----------------------------------------
PHCO_24630 HP-UX Patch Tools
Regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2002 07:50 PM
10-20-2002 07:50 PM
Re: looking for a script to check patches
you can also query individual patch existances ( whether superseded or superseding)
e.g.
swlist -l patch -a superseded_by PHSS_23467
^^
The superseded patch
swlist -l patch -a supersedes PHSS_25951
^^
The patch that has been superseded
Hope this helps!
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2002 11:45 PM
10-20-2002 11:45 PM
Re: looking for a script to check patches
# cleanup -c 1
BR,
Jannik