HP-UX Software Assistant Reference (November, 2010)
swa step -?
To display usage and list all swa step extended options:
swa step -x -?
To run swa step using the options specified in the file ./myconfig:
swa step -X ./myconfig
To inventory the local system, assuming it was last inventoried over 24 hours ago:
swa step inventory
To inventory a remote system using the unauthenticated swlist networking protocols, assuming
it was last inventoried over 1 hour ago:
swa step inventory -s remotesystem -x inventory_max_age=1
To get the catalog of known HP software and issues, only downloading the catalog if it is older
than 24 hours, using the default (HTTPS) protocol, and caching it in the default location:
swa step catalog
To get the catalog regardless of age from a customer-defined location, specifying where to cache
a local copy of the catalog:
swa step catalog -x catalog_max_age=0 \
-x catalog_source=ftp://mycompany.com/export/patches/swa_catalog.xml.gz
\
-x catalog=~/mycatalog.xml
To analyze the local system with the QPK, SEC, and PCW analyzers, using the previously cached
inventory and catalog (in their default locations):
swa step analyze
To analyze a remote system for security issues, using the previously cached inventory and catalog
(in their default locations):
swa step analyze -a SEC -s remotesys
To analyze the local system for security issues, using a specified location for the catalog and
analysis files:
swa step analyze -a SEC -x catalog=~/mycatalog \
-x analysis_file=~/myanalysis.xml
To create a default standard output Action report based on a previous analysis (in the default
location):
swa step report
To create a standard output Issue report, and to specify the location of the comprehensive HTML
report:
swa step report -r issue -x html_report=~/myreport.html
To create a standard output Detail report only if there is at least one issue, keeping standard error
(progress) messages to a minimum:
swa step report -r detail -x report_when_no_issues=false \
-x verbosity=0
To create a standard output Action report with minimal standard error (progress) messages, but
with maximal progress messages logged to the log file:
swa step report -x verbosity=0 -x log_verbosity=5
To download software recommended by the previous analysis (using default locations):
swa step download
To use the preview mode:
49