HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
swa-clean(1M) swa-clean(1M)
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:
swa clean swcache
To preview the removal of all cached downloaded software in the default location:
swa clean swcache -p
To remove all cached inventory, catalog, analysis, and downloaded software in specified locations:
swa clean all -x user_dir=˜/myusercache -x swcache=/my/cache
AUTHOR
swa was developed by HP.
FILES
/etc/opt/swa/swa.conf System-wide Software Assistant configuration file.
/etc/opt/swa/swa.conf.template Template file that documents each
-x option.
$HOME/.swa.conf Per-user Software Assistant configuration file.
/var/opt/swa/swa.log Default log file location for root users. For users
without write permissions to the default log location,
a swa.log file is created under the directory
specified by the -x user_dir extended option.
SEE ALSO
security_patch_check(1M), swa(1M), swa-get(1M), swa-report(1M), swa-step(1M).
380 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: December 2007 Update