HP-UX Software Assistant Reference (November, 2010)
RETURN VALUE
swa get returns the following values:
0 Success
1 Error
2 Warning
EXAMPLES
These example commands assume your default configuration file contains your ITRC login
information. The syntax will be:
hp_id = <ITRC User ID>
hp_pw = <ITRC password>
To display swa get usage information:
swa get -?
To display usage and list all swa get extended options:
swa get -x -?
To run swa get using the options specified in the file ./myconfig:
swa get -X ./myconfig
To get patches from HP that are recommended in the default analysis file (from the previous swa
report command) and place the results into the new depot mydepot:
swa get -t mydepot
To add newly recommended patches into the existing depot mydepot, only downloading patches
from HP that are neither in mydepot nor previously downloaded:
swa get -t mydepot -x allow_existing_depot=true
To preview which patches need to be downloaded from HP and added to an existing depot without
actually doing the work, and with increased verbosity:
swa get -p -v -t mydepot -x allow_existing_depot=true
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.
22