HP-UX Software Assistant Reference (November, 2010)

To display swa report usage information:
swa report -?
To display usage and list all swa report extended options:
swa report -x -?
To run swa report using the options specified in the file ./myconfig:
swa report -X ./myconfig
To inventory the local system, analyze it against an HP-supplied catalog (of known software and
issues) for newer Quality Pack patch bundles, security issues, and critical patch warnings, and
then generate a default standard output Action report:
swa report
To create a report for security issues (SEC) for a remote system inventory gathered with Secure
Shell, and running ssh in batchmode to avoid being prompted for user input:
swa report -a SEC -s ssh://user@remotesystem \
-x ssh_options='-o batchmode=yes'
To create a detailed report for remotesystem, limited in scope to Quality Pack patch bundle analysis
(QPK) and installed, active patches with critical warnings (PCW). This example uses the swlist
networking protocol, which is not integrity protected.
swa report -a QPK -a PCW -s remotesystem -r detail
To do the same task as the previous example, using the extended option equivalents (which can
be specified on the command line, in a user or system configuration file, or in an extended options
file):
swa report -x analyzers='QPK PCW' \
-x inventory_source=remotesystem -x stdout_report_type=detail
To generate a report and place the analysis results in the ~/firstanalysis.xml file (for later
use by swa get):
swa report -x analysis_file=~/firstanalysis.xml
To generate a report, updating the catalog of HP software if it is more than 48 hours old:
swa report -x catalog_max_age=48
To generate a report using a specified catalog of HP software without updating that catalog:
swa report -x catalog=~/mycatalog.xml -x catalog_max_age=-1
To generate a report always updating the catalog of HP software:
swa report -x catalog_max_age=0
AUTHOR
swa was developed by HP.
FILES
Many of the following files have characteristics that may be modified by extended options, including
the location and name. For more information, see swa-report(1M), swa-get(1M), swa-step(1M),
and swa-clean(1M).
$HOME/.swa.conf The per-user SWA configuration file. This file takes
precedence over the system-wide SWA configuration file.
$HOME/.swa/cache/
swa_catalog.xml
An HP-supplied catalog file from the ITRC website that
contains known security issues and other defects along with
their solutions. This file is downloaded with the command
swa report or swa step catalog.
34