HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)

s
swlist(1M) swlist(1M)
(HP-UX Software Distributor)
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
Use the swlist -l option and patch level to display the values of a fileset’s applied_patches attribute.
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).
/var/adm/sw/
The directory which contains all of the configurable (and non-configurable) data for SD. This directory
is also the default location of logfiles.
/var/adm/sw/defaults
Contains the active system-wide default values for some or all SD options.
/var/adm/sw/host_object
The file which stores the list of depots registered at the local host.
/var/adm/sw/products/
The Installed Products Database (IPD), a catalog of all products installed on a system.
/var/spool/sw/
The default location of a source and target software depot.
AUTHOR
swlist was developed by the Hewlett-Packard Company and Mark H. Colburn (see pax(1)).
SEE ALSO
install-sd(1M), swacl(1M), swagentd(1M), swask(1M), swconfig(1M), swcopy(1M), swinstall(1M), swjob(1M),
swmodify(1M), swpackage(1M), swreg(1M), swremove(1M), swverify(1M), sd(4), swpackage(4), sd(5).
HP-UX 11i Version 1: September 2005 11 Hewlett-Packard Company Section 1M955