HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
swa(1M) swa(1M)
NAME
swa - HP-UX Software Assistant
SYNOPSIS
swa [[-x] -?
]
swa report [-a analyzer][
-r stdout_report_type][
-s inventory_source]
[
-q[q[q
]]] [-v[v]] [[-option] -?][
-x option=[value|-?]] [-X option_file]
swa get [-p] -t
target_depot
[
-q[q[q]]] [
-v[v]] [[-option] -?
][-x option=[value|-?]] [-X option_file]
swa step {inventory|catalog|analyze
|report|download|depot}[step_options]
[
-q[q[q]]] [
-v[v]] [[-option] -?
][-x option=[value|-?]] [-X option_file]
swa clean {swcache|usercache|all
}[-p]
[
-q[q[q
]]] [-v[v]] [[-option] -?][
-x option=[value|-?]] [-X option_file]
DESCRIPTION
HP-UX Software Assistant (SWA) can analyze a system (and some types of depots) for patch warnings, crit-
ical defects, security bulletins, missing Quality Pack patch bundle, and user-specified patches and patch
chains. SWA uses an HP-supplied catalog file to analyze a system and generate reports. From this
analysis,
swa get can download patches and build a Software Distributor (SD-UX) depot which will fix
many of the issues in the report. SWA also recommends additional actions in the report which you need to
take care of manually. SWA combines most of the abilities of Security Patch Check (SPC) and all of the
abilities of the HP IT Resource Center (ITRC) Patch Assessment tool into a single solution that runs locally
on HP-UX systems. SWA can analyze software installed on HP-UX systems or present within (some types
of) depots. SWA is divided into two bundles, SwAssistant (which contains security_patch_check
and swa), and SwMgmtMin. The SwAssistant bundle must be installed to get full functionality, whereas
the SwMgmtMin bundle only allows you to inventory systems and remove files created by SWA. The con-
tents of the SwAssistant bundle has a dependency on Java(TM), Perl, and the contents of the SwMgmtMin
bundle.
After SWA analyzes which issues are relevant to the software on the system or in the depot, it determines
the recommended resolution for each issue by providing text and HTML reports. The "action" and "issue"
reports are available in text format (printed to standard output). The "detail" report is available in HTML
and text formats. See swa-report(1M) for more details about this functionality.
The reports include recommendations that may or may not involve patching. When the recommended solu-
tion includes patches, SWA can download them and construct a depot which may be used as an installation
source. See swa-get(1M) for more details about this functionality.
Advanced users can also control the individual steps performed by swa report (inventory, cata-
log
, analyze, and report) and swa get (download and depot). See swa-step(1M) for more
details about this functionality.
As you use SWA to report on systems and download software, objects will be cached on your disk for later
use.
To recapture disk space used by objects that SWA cached, see swa-clean(1M).
Options
swa recognizes the following option:
[-x] -? Display usage information. If the -x option is specified, then display usage and list all swa
extended options for all major modes.
The swa command has four major modes of operation which are listed in order of typical usage and
described in individual manpages:
report Generate reports on issues and recommended actions. See swa-report(1M). A given sys-
tem or depot is inventoried and analyzed against a catalog of HP software and known secu-
rity issues, and a report is generated.
get Download software and create a depot. See swa-get(1M). Software identified by swa
report
is downloaded from HP, and added to a depot. Depending upon options, either a
new depot is created, or an existing depot is added to.
HP-UX 11i Version 2: December 2007 Update − 1 − Hewlett-Packard Company 375