HPlogo HP-UX Reference > C

check_patches(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

check_patches — HP-UX 11i 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. 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 recognizes 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 product 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

AVAILABILITY

This command is standard on HP-UX 11i v3. On 11i v2 it is available in patch PHCO_32220 or a superseding patch. On 11i v1 it is available in patch PHCO_27780 or a superseding patch.

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.