HP-UX Software Assistant Reference (November, 2010)

-x swcache=/var/opt/swa/cache
Usage: Basic
Applicable caches: swcache, all
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 caches: usercache, all
This is 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 locations to stay in sync relative to a common root.
-x verbosity=3
Usage: Basic
Applicable caches: swcache, usercache, all
Specifies the level of standard error verboseness:
0 Only ERROR messages and the starting/ending BANNER messages.
1 Adds WARNING messages.
2 Adds NOTE messages.
3 Adds INFO messages (informational messages preceded by the asterisk '*' 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.
RETURN VALUE
swa clean returns one of the following values:
0 Successful completion
1 Error
2 Warning
EXAMPLES
To display swa clean usage information:
swa clean -?
To display usage and list all swa clean extended options:
swa clean -x -?
To run swa clean using the options specified in the file ./myconfig:
swa clean -X ./myconfig
To remove all cached inventory, catalog, and analysis information in the default location:
swa clean usercache
To remove all cached downloaded software in the default location:
13