HP-UX Software Assistant Reference (November, 2010)
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 path name 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
Specifies a space-separated list (appropriately quoted for your shell if applicable) of analyzers
to be used. Each analyzer represents a different type of analysis that swa can perform. The
supported analyzers follow in two lists (generic and specific).
Generic analyzers:
CRIT patches that fix critical problems
PCW installed, active patches with critical warnings
PW installed, active patches with warnings (a superset of PCW)
QPK latest quality pack
SEC security bulletins that may apply
Specific analyzers:
CHAIN=patchID[,patchID]* Given a specific patch, SWA indicates whether that
patch is required for your system or not. If the patch is
26