swverify.1m (2011 03)

s
swverify(1M) swverify(1M)
[,r <op> revision][,a <op> arch
][,v <op> vendor]
[,c <op> category][,q=qualifier
][,l=location]
[,fr <op> revision][,fa <op> arch
]
location applies only to installed software and refers to software installed to a location other
than the default product directory.
fr and fa apply only to filesets.
r, a, v,
c, and l apply only to bundles and products. They are applied to the leftmost bundle or
product in a software specification.
The <op> (relational operator) component can be of the form:
=, ==, >=, <=,
<, >,or!=
which performs individual comparisons on dot-separated fields.
For example,
r>=B.10.00 chooses all revisions greater than or equal to
B.10.00. The sys-
tem compares each dot-separated field to find matches.
The
= (equals) relational operator lets you specify selections with the shell wildcard and
pattern-matching notations:
[], *, ?, !
For example, the expression r=1[01].* returns any revision in version 10 or version 11.
All version components are repeatable within a single specification (for example,
r>=A.12,
r<A.20). If multiple components are used, the selection must match all components.
Fully qualified software specs include the
r=, a=
, and v= version components even if they con-
tain empty strings. For installed software,
l= is also included.
No space or tab characters are allowed in a software selection.
The software instance_id can take the place of the version component. It has the form:
[instance_id]
within the context of an exported catalog, where instance_id is an integer that distinguishes ver-
sions of products and bundles with the same tag.
Target Selections
The swverify command supports the following syntax for each target_selection.
[host][
:][/directory] | [./relative_path]|[
../relative_path]
A host may be specified by its host name, domain name, or Internet address. If host is specified, the direc-
tory must be an absolute path. To specify a relative path when no host is specified, the relative path must
start with
./ or ../; otherwise, the specified name is considered as a host.
Target Selection with IPv6 Address
The
swverify command also supports specifying the host as an IPv6 address on HP-UX Release 11i v3,
as shown below.
[host_IPv6_address][:][/directory ]
If both the hostname and the path are specified, then the first occurrence of a slash (/) is treated as the
separator.
The IPv6 address can optionally be enclosed in a pair of square brackets (
[) and (]).
EXTERNAL INFLUENCES
Default Options
In addition to the standard options, several SD behaviors and policy options can be changed by editing
the default values found in:
/var/adm/sw/defaults the system-wide default values.
$HOME/.swdefaults the user-specific default values.
Values must be specified in the defaults file using this syntax:
[command_name.]option=value
HP-UX 11i Version 3: March 2011 3 Hewlett-Packard Company 3