HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
swa-clean(1M) swa-clean(1M)
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 clean recognizes the following -x (extended) options which are shown with their default values:
-x logfile=/var/opt/swa/swa.log
Usage: Basic
Applicable caches: swcache usercache all
This is the path to the log file for this command. Each time SWA is run, this file will grow larger.
This can be changed, for example, to a month-specific location for easier archiving, off-host backup,
and rotation.
-x log_verbosity=4
Usage: Basic
Applicable caches: swcache usercache all
Specifies the level of message verbosity in the log file (See also -x verbosity
). Legal values are:
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).
4 Adds verbose INFO messages; this is the default.
5 Adds very verbose INFO messages.
-x preview=false
Usage: Basic
Applicable caches: swcache usercache all
Specifies if swa clean should be run in preview mode or not. If preview is set to
false, do not
run in preview mode. If preview is set to
true, run this command in preview mode only (that is,
complete the analysis phase and exit; no changes are committed to disk). Setting this option to
true
has the same effect as specifying -p on the command line.
-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 exam-
ple, 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
HP-UX 11i Version 2: December 2007 Update − 2 − Hewlett-Packard Company 379