Patch Management User Guide for HP-UX 11.x Systems (5900-3011, March 2013)

For example:
$ swlist -l product *,c=manual_dependencies
# Initializing...
# Contacting target "chb26006"...
#
# Target: chb26006:/
PHCO_24198 1.0 ioscan(1M) patch
PHCO_25831 1.0 SCSI Ultra160 driver Online Addition script
PHCO_25841 1.0 Add Rock Ridge extension to mount_cdfs(1M)
PHCO_26252 1.0 mount_vxfs(1M) cumulative patch
...
The following command shows bundles on the system specified:
swlist -l level @ target_selections
For example:
$ swlist -l bundle @ some_system
# Initializing...
# Contacting target "some_system"...
#
# Target: some_system:/
BUNDLE11i B.11.11.0102.2 Required Patch Bundle for HP-UX 11i, Feb 2001
GOLDAPPS11i B.11.11.0312.4 Gold Applications Patches for HP-UX 11i v1, Dec 2003
GOLDBASE11i B.11.11.0312.4 Gold Base Patches for HP-UX 11i v1, Dec 2003
HWEnable11i B.11.11.0309.4 Hardware Enablement Patches for HP-UX 11i, Sep 2003
MOZILLA 1.4.0.00.00 Mozilla 1.4 for HP-UX
T1471AA A.03.50.000 HP-UX Secure Shell
Table 3: “Variations of the swlist command” (page 25) lists numerous swlist command
variations that you might find useful. These examples can also help you learn how to combine
various swlist arguments.
Table 3 Variations of the swlist command
Descriptionswlist Commands
Displays the registered depots located on the local system.swlist -l depot
Displays the registered depots located on the system
some_host.
swlist -l depot @ some_host
Alternates commands that list the products stored in the
software depot /some_directory/some_depot on the
system some_host.
swlist -d -l product @
\some_host:/some_directory/some_depot
swlist -l product -s
\some_host:/some_directory/some_depot
Lists all patches in the depot
/some_directory/some_depot on the system
some_host.
swlist -d -l product *,c=patch @
\some_host:/some_directory/some_depot
Lists all category tags associated with the contents of the
depot /some_directory/some_depot on the system
some_host.
swlist -d -l category @
\some_host:/some_directory/some_depot
Displays the readme documentation for patch patch_id.swlist -a readme -l product patch_id
Displays the readme documentation for all patches installed
on the local system which contain critical functionality.
swlist -a readme -l product *,c=critical
Lists the products contained in bundle some_bundle.swlist -l product some_bundle
Lists the category tags for patch patch_id.swlist -l product -a category_tag patch_id
Lists the patches installed on the local system and their
corresponding category tags.
swlist -l product -a category_tag
\*,c=patch
Which patches are on a system? 25