HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

s
swa-report(1M) swa-report(1M)
Specifies the age, in hours, of the cached copy of the inventory contents of a given system. If the
inventory becomes too old (based on the timestamp stored in the file), SWA will inventory the host
system/depot again.
Note: There are two special values, 0 and
-1. The value of 0 signifies to always update the file. The
value of
-1 signifies to never update the file, regardless of age.
-x inventory_source=localhost
Usage: Basic
Note: This release supports only one system or depot (limited use cases) for analysis per invocation of
SWA.
This option is useful for analyzing a remote system without installing SWA on that system.
Specify one host system or depot to be inventoried, analyzed, and reported on.
Specify host system and/or depot as a URL using one of the following formats:
hostname
system specification, uses unauthenticated swlist protocol to gather the host inventory
[hostname:]path-to-depot
depot specification, also uses swlist protocol (limited use cases)
ssh://[user@]hostname[:path-to-depot]
ssh specification to system or depot, uses ssh to contact host and local swlist of the system or
depot.
The inventory information is cached for later access in a cache directory within the
user_dir.
Naming of the inventory files is based on the hostname and path-to-depot as specified (for exam-
ple, using the fully qualified domain name of a host will be cached separately from using the
nodename, even for the same machine). Refresh of the cached inventory for each
inventory_source is determined by the
inventory_max_age option.
Note: This option is equivalent to
-s but is suitable for use within an extended options file (
-X)
or configuration file.
-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 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
HP-UX 11i Version 2: December 2007 Update 6 Hewlett-Packard Company 393