HP-UX Software Assistant Reference (November, 2010)

-x user_dir=~/.swa
Usage: Basic
The directory where SWA stores catalog, inventory, analysis, ignore, and report files. The
default location is a subdirectory (.swa) of the user's home directory. This can be changed,
for example, to allow archival of previous interim artifacts in a date-specific directory or off-host.
Several other options default to a directory relative to this directory, so changing this option
allows all of those locations to stay in sync relative to a common root.
-x verbosity=3
Usage: Basic
Specifies the level of standard error verboseness:
0 Only ERROR messages and the starting and ending BANNER messages.
1 Adds WARNING messages.
2 Adds NOTE messages.
3 Adds INFO messages (informational messages preceded by the '*' character); this is the
default.
4 Adds verbose INFO messages.
5 Adds very verbose INFO messages.
Note: The -v option is equivalent to increasing verbosity by 1 (for example, from 3 to 4) and
the -q option is equivalent to decreasing verbosity by 1. The -v and -q options can be used
more than once.
EXTERNAL INFLUENCES
Environment Variables
For compatibility with other applications, several environment variables can be used to configure
how SWA connects to the Internet to retrieve catalogs, certificate revocation lists, and software.
These environment variables include ftp_proxy, http_proxy, and https_proxy.
These environment variables have the same effect as the corresponding extended options of the
same names. The Extended Options section describes the usage and meaning of each option and
the behavior if the same option is specified in multiple places.
The proxy extended option cannot be specified as an environment variable, but may be a useful
alternative if all protocols use the same proxy server at your site.
The TMPDIR environment variable is also honored for local operations, if set. If this value is not
set, the default of /var/opt/swa/tmp is used. This directory does not allow write operations for
non-privileged users, so TMPDIR must be set by non-root users if a temporary directory is required
for that operation. An example operation that uses this directory is unsharing of patch files. For
older-style patches which do not honor TMPDIR, SWA rewrites the shar file so that TMPDIR will
be honored before unpacking the patch.
RETURN VALUE
swa report returns the following values:
0 Success
1 Error
2 Warning
EXAMPLES
These example commands assume your default configuration file contains your ITRC login
information. The syntax will be:
hp_id = <ITRC User ID>
hp_pw = <ITRC password>
33