HP-UX Software Assistant Reference (November, 2010)
swa-clean(1M)
NAME
swa-clean: swa -- Remove files created by SWA
SYNOPSIS
swa clean {swcache|usercache|all} [-p]
[-q [q[q]]] [-v[v]] [[-option] -?] [-x option=[value|-?]] [-X option_file]
DESCRIPTION
The swa clean command allows the user to remove software and files cached by Software
Assistant (SWA). As SWA is used to report on systems and download software, objects are cached
on disk for later use. There are two caches. The usercache is for catalog, inventory, and analysis
information, and the swcache is for software downloaded from HP. The swa clean command
allows the recapture of this disk space.
The swa clean commands are as follows:
swa clean swcache Remove files containing software in the swcache directory that were
downloaded by swa get or swa step download. The directory
used for the swcache can be set by the swcache extended option.
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.
swa clean usercache Remove cached files that were created by swa report. These
files are stored in the cache subdirectory of the directory specified
by the user_dir extended option. Generally, the cache directory
includes the inventories of systems and depots, the catalog of issues
and recommended resolutions, and the results of the analysis. The
usercache generally does not consume much disk space.
swa clean all Clean the usercache and the swcache directories.
Options
swa clean recognizes the following options:
-p Runs this command in preview mode.
-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.
11