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

s
swverify(1M) swverify(1M)
Standard Error
The swverify command also writes messages for all WARNING and ERROR conditions to stderr.
Logging
The swverify command logs summary events at the host where the command was invoked. It logs
detailed events to the swagent logfile associated with each target_selection.
Command Log
The
swverify command logs all stdout and stderr messages to the the logfile
/var/adm/sw/swverify.log
. (The user can specify a different logfile by modifying the
log-
file
option.)
Target Log
A swagent process performs the actual verify operation at each target_selection. When verifying
installed software, the
swagent logs messages to the file
var/adm/sw/swagent.log
beneath
the root directory (for example,
/ or an alternate root directory). When verifying available software
(within a depot), the swagent logs messages to the file swagent.log beneath the depot directory (for
example,
/var/spool/sw
).
Command and target log files can be viewed using the
swjob command.
swagentd Disabled
If the swagentd daemon has been disabled on the host, it can be enabled by the host’s system administra-
tor by setting the SW_ENABLE_SWAGENTD
entry in /etc/rc.config.d/swconfig to 1
and exe-
cuting
/usr/sbin/swagentd -r
.
EXAMPLES
Verify the C and Pascal products installed at the local host:
swverify cc pascal
Verify a particular version of HP Omniback:
swverify Omniback,1=/opt/Omniback_v2.0
Verify the entire contents of a local depot:
swverify -d \* @ /var/spool/sw
Verify the entire contents of a system:
swverify \*
Verify the C and Pascal products on remote hosts:
swverify cc pascal @ hostA hostB hostC
FILES
$HOME/.swdefaults
Contains the user-specific default values for some or all SD options.
$HOME/.sw/sessions/
Contains session files automatically saved by the SD commands, or explicitly saved by the user.
/usr/lib/sw/sys.defaults
Contains the master list of current SD options with their default values.
/var/adm/sw/
The directory which contains all the configurable and non-configurable data for SD. This directory is
also the default location of logfiles.
/var/adm/sw/defaults
Contains the active system-wide default values for some or all SD options.
/var/adm/sw/getdate.templ
Contains the set of date/time templates used when scheduling jobs.
/var/adm/sw/products/
The Installed Products Database (IPD), a catalog of all products installed on a system.
/var/spool/sw/
The default location of a target software depot.
HP-UX 11i Version 2: December 2007 Update 10 Hewlett-Packard Company 539