HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

s
swa-step(1M) swa-step(1M)
-x report_when_no_issues=true
Usage: Intermediate
Applicable steps: report
Controls whether SWA will produce a report to standard output when there are no issues and/or
actions. This is useful, for example, in a cron job where you want email sent to you only if there is an
issue found.
true A standard output report is always produced.
false A standard output report is only produced if there are issues and/or actions.
Hint: To check for error status, use the exit code of the command and check the logfile for details.
-x ssh_options=
Usage: Intermediate
Applicable steps: inventory
Options to be passed to ssh. Multiple options may, be included as a space-delimited list. For example,
if you are using SWA in a cronjob, you may want to specify ’-o BatchMode=yes’
to return
immediately upon failure, rather than prompting for a password.
See ssh_config(5) for additional options.
-x stdout_report_type=action
Usage: Basic
Applicable steps: report
Type of report to display on standard output. This is useful for controlling what type of output you
would like to see. Legal values are:
action Summary of recommended actions
issue Summary of identified issues
detail Recommended actions with issue justification
html Comprehensive HTML report
none No report
-x swcache=/var/opt/swa/cache
Usage: Basic
Applicable steps: download depot
This is the directory where SWA stores downloaded patches before putting them into a depot. The
default location is only writable by root, so this directory needs to be changed for a non-root user to be
able to download software. Opening up permissions on the default location is not recommended.
-x user_dir=˜/.swa
Usage: Basic
Applicable steps: catalog inventory analyze report download depot
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 loca-
tions to stay in synch relative to a common root.
-x verbosity=3
Usage: Basic
Applicable steps: catalog inventory analyze report download depot
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.
HP-UX 11i Version 2: December 2007 Update 9 Hewlett-Packard Company 405