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

s
swa-report(1M) swa-report(1M)
Specify one system or depot to be inventoried, analyzed and reported on. If this option is not
specified, the local system is inventoried, analyzed and reported on. Supports Secure Shell
(recommended for remote connections) and swlist (legacy) protocols for gathering inventory
information. See the inventory_source
extended option for more details.
-q The verbosity level is decreased by one for each instance
-q is specified. (See also the
-x verbosity
option.)
-v The verbosity level is increased by one for each instance
-v is specified. (See also the
-x verbosity
option.)
-? Displays general usage.
-option -?
Describes the legal values for this option. If option is
-x, all possible extended options are listed
for the specified major mode (
swa command). If no major mode is given, all extended options
are listed for all the major modes.
-x option=value
Sets the extended option to a value. See the Extended Options definitions below.
-x option=-?
Describes the legal values for this option.
-X option_file
Gets the extended options from option_file. For a description and examples of syntax for this
file, see the /etc/opt/swa/swa.conf.template
file.
Extended Options
The extended options may be specified in different ways: on the command line using the
-x option, in an
option file specified using the
-X option, or in one of the configuration files
/etc/opt/swa/swa.conf
(system wide) or $HOME/.swa.conf
(user-specific). The /etc/opt/swa/swa.conf.template
file provides example syntax for a configuration or -X file.
If the same option is given in multiple locations, the following order is prioritized from highest to lowest:
1. Options specified on the command line
2. Options specified within an option file (
-X option_file)
3. Proxy environment variables (See the Environment Variable section.)
4. Options specified within the
$HOME/.swa.conf
file
5. Options specified within the
/etc/opt/swa/swa.conf
file
6. Default value, specified in the descriptions of each option below in option_name
=default_value format.
Note: If the same option or extended option is given multiple times in the same location, the last option
takes effect. If the option has a single letter equivalent (for example,
-v
and -x verbosity) and both
are used on the command line, the single letter option generally takes precedence. If the single letter
option affects an extended option that takes a list of arguments, specifying the single letter option multiple
times will append to the list.
swa report recognizes the following -x (extended) options which are shown with their default values:
-x analysis_file=${user_dir}/cache/swa_analysis.xml
Usage: Basic
The file containing the raw analysis results, including a list of software that should be downloaded
from Hewlett-Packard in order to address the issues found by the analysis. Use this option to save the
results from a specific analysis, and later reuse those results in order to download the corresponding
software from HP. If you do not use the default location when the analysis file is created
(swa report creates this file), be sure to specify that location when the analysis file is later used
(swa get uses this file).
Possible values include any absolute or relative pathname with appropriate permissions.
The use of ${user_dir} at the beginning of this option value is substituted with the value of the
user_dir option (which defaults to $HOME/.swa ).
-x analyzers=QPK SEC PCW
Usage: Basic
HP-UX 11i Version 2: December 2007 Update 2 Hewlett-Packard Company 389