swlist.1m (2010 09)

s
swlist(1M) swlist(1M)
swlist -s ./software
List the contents of the local tape, /dev/rmt/0m
:
swlist -d @ /dev/rmt/0m
or, alternatively:
swlist -s /dev/rmt/0m
List the tag and revision attributes for all products on the local tape
/dev/rmt/0m:
swlist -d -a revision @ /dev/rmt/0m
or, alternatively:
swlist -a revision -s /dev/rmt/0m @
Display the README file for the FRAME product:
swlist -a readme FRAME
List the products stored in a remote depot:
swlist -d @ hostA:/depot
List all depots on a host:
swlist -l depot @ hostA
List the categories defined in the depot mounted at /CD.
swlist -d -l category @ /CD
Output:
critical_patch 1.0 Patches to fix system hangs or data corruption
S747_upgrade 2.0 Patches needed to upgrade to an S747
security_patch 2.0 Patches affecting system security
List a particular attribute of a category object identified by the tag critical_patch
.
swlist -a description -l category critical_patch
List all the installed patches and their current state.
swlist -a patch_state *,c=patch
Use the swlist -l option and patch level to display the values of a fileset’s applied_patches attri-
bute.
swlist -l patch BogusProduct
Output:
BogusProduct 1.0 This is a Bogus Product
BogusProduct.FakeFS Fake fileset
PHZX-0004.FakeFS Patch for defect X superseded
PHZX-3452.FakeFS Patch for defect Y applied
Another example showing just the patch:
swlist -l patch PHZX-0004
Output:
PHZX-0004 1.0 Patch product
PHZX-0004.FakeFS Patch for defect X superseded
FILES
$HOME/.swdefaults
Contains the user-specific default values for some or all SD options.
$HOME/.sw/sessions/
Contains session files automatically saved by the SD commands, or explicitly saved by the user.
/usr/lib/sw/sys.defaults
Contains the master list of current SD options (with their default values).
HP-UX 11i Version 3: September 2010 11 Hewlett-Packard Company 11