- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- number of installed 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
05-31-2002 12:55 AM
05-31-2002 12:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 12:59 AM
05-31-2002 12:59 AM
Re: number of installed patches
You can see all the patches installed on the system in /var/adm/sw/patch directory.
Regards,
Mateja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 01:01 AM
05-31-2002 01:01 AM
Re: number of installed patches
#cd /var/adm/sw/products
#ls -d P*
will give you list of all the patches in the system.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 01:04 AM
05-31-2002 01:04 AM
SolutionThe best way to see the number of "applied" patches (ie. active) is;
swlist -l patch | grep applied | wc -l
If you leave off the grep applied you will see all old superceeded patches also, I preusme you only want to see applied/active patches ?
The above command lists all filesets for these applied patches, patches usually have > 1 filesets in them. If you just want to see the numer of applied individual patches (even if they do have multiple filesets) do;
swlist -l patch|grep applied|sed 's/\./ /g'|awk '{print $1}'|grep PH|sort -u|wc -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 01:06 AM
05-31-2002 01:06 AM
Re: number of installed patches
My previous answer is true for a 10.20 system. For 11.0 and 11i, you should ls /var/adm/sw/products directory.
Regards,
Mateja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 06:13 AM
05-31-2002 06:13 AM
Re: number of installed patches
I would like to differ with others' opinion about the patches as they would be a lot of repetition based on dependencies. show_patches|wc -l would give the exact no. of applied patches.
Thanks
Giri.