HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

c
check_patches(1M) check_patches(1M)
NAME
check_patches - HP-UX 11i V3 patch check utility
SYNOPSIS
check_patches
[-imopsv]
DESCRIPTION
The
check_patches
utility checks for installation problems and issues related to patches on HP-UX 11i
V3. The utility checks for patches missing the SD-UX patch attributes, missing patch filesets, patch object
modules missing from archive libraries, patch filesets with the incorrect patch_state , patch filesets not in
the configured state, and patch filesets that fail
swverify (see swverify(1M)).
The
check_patches
utility logs all information to /tmp/check_patches.report
.
Options
If no options are specified,
check_patches performs all checks. The check_patches
utility recog-
nizes the following options:
-i Check for invalid patches (patches missing the SD-UX patch attributes)
-m Check for missing patch filesets in the currently active patches. This will determine if a pro-
duct fileset was installed, or reinstalled, after a currently active patch.
-o Verify the checksum values of the object modules delivered by the currently active patches
-p Check all patch filesets for correct SD-UX patch_state (applied, committed,
committed/superseded, superseded)
-s Check the SD-UX state to identify all unconfigured patch filesets
-v Run the swverify command on all patch filesets
RETURN VALUE
Upon completion, check_patches returns one of the following values:
0 No problems were found.
1 One or more patch-related problems were logged.
2 Syntax or usage error.
AUTHOR
check_patches was developed by HP.
SEE ALSO
show_patches(1), sysdiff(1) cleanup(1M), swlist(1M), swremove(1M), swverify(1M).
112 Hewlett-Packard Company 1 HP-UX 11i Version 3: February 2007