HP-UX Software Assistant Administration Guide (5900-3003, March 2013)

When the swa command runs, it produces a cache of files for its use. Run swa clean to free up
disk space after your swa session is complete.
The swa clean command has modifiers that specify the caches to clean. The modifiers are:
usercache, swcache, and all. The usercache holds the files created by swa report, and
the swcache holds the patches and patch bundles downloaded by swa get or swa step
download. The swcache directory can be set with the extended option swcache.
NOTE: The usercache generally does not consume much disk space, but the swcache can consume
a significant amount of disk space. There is a trade-off between keeping software in the swcache
directory and having to repeat a software download.
Extended options
Extended options allow you to tailor SWA behavior to your own specifications as each phase is
performed: analysis, reporting, and downloading HP software. SWA commands are capable of
accepting extended options via command line or in an extended options configuration file.
Precedence of extended options sources are given in the manpages.
To specify an extended option via command line, use the syntax swa_command -x option.
To use a configuration file, there are three options:
Specify a file on the command line with swa_command -X option_file.
Use the $HOME/.swa.conf file.
Use the /etc/opt/swa/swa.conf file.
The SWA manpages document applicable extended options for a command, and the /etc/opt/
swa/swa.conf.template file outlines the usage and syntax of each extended option. Be sure
to read the manpages so you are aware of the extended options' default values associated with
each command.
Help
Use the -? option at any level of a command to get context sensitive information regarding usage
and available options. For example:
# swa report -?
Usage:
swa report [options] Analyze and report issues and new software
Where options include:
-a analyzer One of the analyzers to use <multiple -a options can
be specified>
-q Decrease verbosity of output
-r report_type Set the type of the stdout report
-s System, depot or existing local inventory file to analyze.
-v Increase verbosity of output
-x ext_option=value Set the extended option to value <multiple -x options
can be specified>
-X option_file Read extended option settings from this file
Use "swa report -<option> -?" <e.g. "swa report -x -?"> to get a
description of options that have arguments
Command structure 7