HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
swa-get(1M) swa-get(1M)
-x http_proxy=${proxy}
Usage: Advanced
Proxy host and port (with optional HTTP basic authentication username and password) for accessing
content using the HTTP protocol. No proxy information is specified by default.
The following format is used:
service://[user:password@
]proxy-server:port
For example: http_proxy=http://web-proxy.mycompany.com:8088
The HTTP protocol is the default protocol used to download certificate revocation lists. See the
crl_url option for more details.
The use of ${proxy} for this option value is substituted with the value of the
proxy option (which
is not set by default).
-x logfile=/var/opt/swa/swa.log
Usage: Basic
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
Specifies the level of message verbosity in the log file (See also -x verbosity
). Legal values are:
0 Only ERROR messages and the starting and ending BANNER messages.
1 Adds WARNING messages.
2 Adds NOTE messages.
3 Adds INFO messages (informational messages preceded by the ’*’ character).
4 Adds verbose INFO messages; this is the default.
5 Adds very verbose INFO messages.
-x preview=false
Usage: Basic
Specifies if swa get 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, com-
plete 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 proxy=
Usage: Basic
Proxy host and port (with optional HTTP basic authentication username and password) for accessing
content using the relevant protocol. No proxy information is specified by default.
The following format is used:
service://[user:password@]proxy-server:port
For example: proxy=http://web-proxy.mycompany.com:8088
If username and password are specified as authentication credentials to your proxy server, HTTP
basic authentication is used, which is a clear-text protocol, (that is, your password may be visible to
others on your network). Also, credentials specified on the command-line are visible to other local
users, and access to credentials stored in extended option files are determined by their permissions. If
your proxy server requires another type of authentication, see the -x download_cmd option.
This option is used as the default for the other proxy settings.
The HTTPS protocol is used for catalog download, the HTTP protocol is used to download the CRL,
and the FTP protocol is used for patch download. The proxy= option controls the default for all
three proxies. See the https_proxy option, the http_proxy option, and the ftp_proxy
option for more details.
HP-UX 11i Version 2: December 2007 Update − 4 − Hewlett-Packard Company 385