HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)

s
swverify(1M) swverify(1M)
(HP-UX Software Distributor)
See sd(5), swinstall(1M), swcopy(1M), swjob(1M), swlist(1M), or swremove(1M) for more informa-
tion on interactive operations.
NOTE: You can also set up remote access by using
swacl directly on the remote machines to grant root or
non-root access to users from the controller system.
Options
swverify supports the following options:
-d Operate on a depot rather than installed software.
-F Runs vendor-specific fix scripts to correct and report problems on installed
software. The fix script can create missing directories, correct file modifications
(mode, owner, group, major, and minor), and recreate symbolic links.
-r Operates on an alternate root directory, which must be specified in the
@
target_selections option. Verify scripts are not run when verifying software in an
alternate root directory. (This option is not required for alternate root operations but
is maintained for backward compatibility. See the
Alternate Root Direc-
tory and Depot Directory
heading in sd(5) for more information.)
-v Turns on verbose output to stdout. (The swverify logfile is not affected by this
option.) Verbose output is enabled by default; see the verbose
option below.
-C session_file
Save the current options and operands to session_file. You can enter a relative or
absolute path with the file name. The default directory for session files is
$HOME/.sw/sessions/
. You can recall a session file with the -S option.
-f software_file
Read the list of software_selections from software_file instead of (or in addition to) the
command line.
-J jobid Executes the previously scheduled job. This is the syntax used by the daemon to start
the job.
-Q date Schedules the job for this date. You can change the date format by editing the
/var/adm/sw/getdate.templ
file.
-S session_file
Execute swverify based on the options and operands saved from a previous ses-
sion, as defined in session_file. You can save session information to a file with the
-C
option.
-t target_file Read the list of target_selections from target_file instead of (or in addition to) the com-
mand line.
-x option=value
Set the session option to value and override the default value (or a value in an alter-
nate options_file specified with the -X option). Multiple -x options can be specified.
-X option_file Read the session options and behaviors from options_file.
Operands
Most SD commands support two types of operands: software selections followed by target selections. These
operands are separated by the @ (at) character. This syntax implies that the command operates on
"software selections at targets".
Software Selections
The swverify command supports the following syntax for each software_selection:
bundle[.product[.subproduct][.fileset]][,version]
product[.subproduct][.fileset][,version]
The = (equals) relational operator lets you specify selections with the following shell wildcard
and pattern-matching notations:
[], *, ?
Section 1M996 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005