HP-UX Software Assistant Reference (November, 2010)
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
Many of the following files have characteristics that may be modified by extended options, including
the location and name. For more information, see swa-report(1M), swa-get(1M), swa-step(1M),
and swa-clean(1M).
$HOME/.swa.conf The per-user SWA configuration file. This file takes
precedence over the system-wide SWA configuration file.
$HOME/.swa/cache/
swa_catalog.xml
An HP-supplied catalog file from the ITRC website that
contains known security issues and other defects along with
their solutions. This file is downloaded with the command
swa report or swa step catalog.
$HOME/.swa/cache/
swa_analysis.xml
The analysis of the inventory file and the catalog file created
with swa report or swa step analyze.
$HOME/.swa/cache/swa_inventory_n.xml The inventory of installed software created by swa
inventory or swa step inventory.
$HOME/.swa/ignore Use this file to specify issues for analyzers to ignore. It is
possible to use more than one ignore file by using the
extended option ignore_file.
$HOME/.swa/ignore Use this file to specify issues for analyzers to ignore. It is
possible to use more than one ignore file by using the
extended option ignore_file.
$HOME/.swa/report/
swa_report.html
The comprehensive report written by swa report and swa
step report.
$HOME/.swa/swa.log Default alternative log file if you don't have permissions to
write to /var/opt/swa/swa.log.
/etc/opt/swa/swa.conf The system-wide SWA configuration file.
/etc/opt/swa/
swa.conf.template
An example configuration file outlining the usage of each
extended option.
/opt/swa/lbin/configHPSIM Script to configure HP SIM 5.2 and later for SWA. Only
required if SWA is installed when HP SIM is installed but
not running. HP SIM must be running when configHPSIM
is run.
/opt/swa/share/man Manpages.
/var/opt/swa/cache The default directory for downloading software before it is
packaged in a depot. This directory can be set with the
extended option swcache. Note that this directory can
consume a significant amount of disk space.
/var/opt/swa/HPSIM Directory that holds all clients' files generated from SWA
within HP SIM. Files are kept in user and job-specific
subdirectories. This directory might require significant space
14