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

s
swa-report(1M) swa-report(1M)
others on your network). Also, credentials specified on the command-line are visible to other local
users, and access to credentials stored in extended option files are determined by their permissions. If
your proxy server requires another type of authentication, see the
-x download_cmd option.
This option is used as the default for the other proxy settings.
The HTTPS protocol is used for catalog download, the HTTP protocol is used to download the CRL,
and the FTP protocol is used for patch download. The
proxy= option controls the default for all
three proxies. See the
https_proxy option, the
http_proxy option, and the ftp_proxy
option for more details.
-x report_when_no_issues=true
Usage: Intermediate
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
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
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 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 loca-
tions to stay in synch 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.
394 Hewlett-Packard Company 7 HP-UX 11i Version 2: December 2007 Update