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

HP-UX Handbook Rev 13.00 Page 20 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
The following options have the most relevancy to patching. Where appropriate, default values
are shown. For the full set of available options, consult the swlist(1m) man page or refer to the
Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3.
Options
option=default value
Menu Path in Interactive Interface
Description
show_superseded_patches=false
The swlist command lists the contents of the IPD. In 11.00 systems, swlist lists all patches in the IPD, whether or
not they are superseded. In 11i, swlist only lists those patches which are active on the system. By setting this
option to true the 11.00 swlist functionality can be turned on in an 11i system (all patches in the IPD are listed).
However, to get the 11i functionality on an 11.00 system, patch PHCO_22526 must be installed and
swlist.show_superseded_patches=false must be added to the /var/adm/sw/defaults file.
Examples
List all products with revision and description for each:
swlist l product | more
List all filesets which have a state other than configured:
swlist l fileset a state | grep v e ’^#’ e configured
List all patches in the depot /var/MyDepot on the system grendel:
swlist -d -l product *,c=patch @ grendel:/var/MyDepot
List the filesets modified by installed patch PHSS_8675
swlist -a ancestor PHSS_8675
List all of the files delivered within patch PHCO_12140 after downloading from the ITRC:
swlist -d -l file @ /tmp/PHCO_12140.depot
List all patches that have modified the LVM product
swlist -l patch LVM
Display the documentation for all patches containing critical functionality
swlist -a readme -l product *,c=critical
List all category tags defined in the depot /var/MyDepot on the system grendel
swlist -d -l category @ grendel:/var/MyDepot