HP-UX Software Assistant Reference (November, 2010)
swa-step(1M)
NAME
swa-step: swa -- Advanced control over the execution of swa report and swa get steps.
SYNOPSIS
swa step inventory [-s inventory_source]
[-q [q[q]]] [-v[v]] [[-option] -?] [-x option=[value|-?]] [-X option_file]
swa step catalog
[-q [q[q]]] [-v[v]] [[-option] -?] [-x option=[value|-?]] [-X option_file]
swa step analyze [-a analyzer] [-s inventory_source]
[-q [q[q]]] [-v[v]] [[-option] -?] [-x option=[value|-?]] [-X option_file]
swa step report [-r stdout_report_type]
[-q [q[q]]] [-v[v]] [[-option] -?] [-x option=[value|-?]] [-X option_file]
swa step download [-p] [-t target_depot]
[-q [q[q]]] [-v[v]] [[-option] -?] [-x option=[value|-?]] [-X option_file]
swa step depot [-p] -t target_depot
[-q [q[q]]] [-v[v]] [[-option] -?] [-x option=[value|-?]] [-X option_file]
DESCRIPTION
The swa step command supports many advanced use cases. The swa report and swa get
commands are made up of steps. The swa report command is comprised of the steps: inventory,
catalog, analyze, and report. The swa get command is comprised of the steps: download and
depot. With the swa step command, you can execute one discrete step of the swa report or
swa get command, such as: swa step inventory. The swa step report command can
be used to create different standard output reports, without having to redo analysis. Additional
examples and use cases are provided below.
swa step inventory Create an inventory of the software installed on a system or in a
depot. This inventory is stored in the cache subdirectory of the
directory specified by the user_dir extended option (the filename
is of the form "swa_inventory_<number>.xml"). Example use case:
if the system to be analyzed and the system that will perform the
analysis are on isolated networks, run swa step inventory on
the system to be analyzed to create an inventory file. Then copy that
file (for example, burn a CD) to the cache directory on the analysis
system.
swa step catalog Download an HP-supplied catalog of potential issues and their
recommended resolutions. This catalog is stored in the cache
subdirectory of the directory specified by the user_dir extended
option (the default filename is swa_catalog.xml). Example use
case: if the system that will perform the analysis has no access to the
Internet, download the catalog to a system with Internet access. Then,
copy the catalog (for example, on a USB drive) to the cache directory
on the analysis system.
swa step analyze Given the results of running swa step inventory and swa step
catalog, the inventory file is compared with the catalog file to see
what issues need to be resolved on the system (see the Security
Considerations section). The analysis results are stored in the
cache subdirectory of the directory specified by the user_dir
extended option (the default filename is swa_analysis.xml).
Example use case: run swa step analyze multiple times, each
37