HP-UX HB v13.00 Ch-05 - SD-UX

HP-UX Handbook Rev 13.00 Page 43 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
Patch Tools: show_patches, check_patches and cleanup
These useful tools are not delivered on HP-UX o/s versions 11.0 and 11.11 but are available as a
patch. At HP-UX o/s 11.23 and 11.31 the patch tools are part of the core o/s.
PHCO_24347 (or newer) for UX 11.00
PHCO_24630 (or newer) for UX 11.11
show_patches Command
The show_patches utility displays active and superseded patches in a formatted output, which
may be easier to interpret than the output of the swlist command. The utility uses the SD-UX
patch attributes patch_state and superseded_by to determine which patches are active and
which are superseded.
To display only the active (non superseeded) patches do
# show_patches
Active Patch
Patch Description
---------- -----------------------------------------
PHCO_22958 set_parms
PHCO_22989 Som2elf Patch
PHCO_23004 cumulative SAM/ObAM patch
PHCO_23083 newgrp(1) patch
PHCO_23150 HP Array Manager/60 cumulative patch
Refer to the show_patches manual page for details.
check_patches Command
The check_patches script does a general sanity check on the whole patch database.It 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(1M).
The check_patches utility logs all information to /tmp/check_patches.report.
Invoke check_patches with no options to perform all checks.
# check_patches
Obtaining information on installed patches
Checking for invalid patches
Checking for ar(1) patches
Checking object module checksums for active patch fileset 309 of 309
Checking patch filesets for active patch 156 of 156
Checking state for patch fileset 573 of 573
Checking patch_state for patch fileset 573 of 573