For patch analysis of HP-UX systems, the HPE support team need the output of the swainv script. Here I have shown the process to run and collect the output of swainv script.
HP-UX Patch Assessment Using swainv
- Login HP-UX system as a superuser.
- First run the whereis swainv command to check whether swainv is installed or not, here it is installed.
# whereis swainv swainv: /opt/swa/lbin/swainv
- Run the command /opt/swa/lbin/swainv or simply swainv. It will create an XML file in the current directory.
# /opt/swa/lbin/swainv Copyright (c) Hewlett-Packard 2005-2006. All rights reserved. swainv revision: 4.01 This script lists the patches, products, bundles, and filesets found in a system or depot and packages the information in a file for transfer to the ITRC or the Response Center. * Listing Filesets * Listing Products * Listing Bundles * Inventory written to inventory.xml
- Check the current directory for inventory.xml file and send this XML file to the HPE support team for patch analysis.
# ls -l total 2144 -rw-r--r-- 1 root sys 1022630 Oct 10 17:18 inventory.xml
Last Updated: August 26, 2020