Software Distributor Administration Guide for HP-UX 11i

Managing Installed Software
Listing Your Software (swlist)
Chapter 3 111
Note that the commented lines represent the requested level
(NETWORKING.ARPA) plus one level up (fileset) from the specified file level
(NETWORKING.ARPA_INC, NETWORKING.ARPA_RUN and
NETWORKING.ARPA_RUN are all filesets). The uncommented lines are files.
Depot Lists Another class of objects that swlist can display are depot
lists. This allows you to list all the registered depots residing on a host.
To do this, you can use a combination of the -l
depot
option:
Verbose List The -v option causes a verbose listing to be generated. A
verbose listing is used to display all attributes for products, subproducts,
filesets or files.
The verbose output lists each attribute with its name (keyword). The
attributes are listed one per line. Given the length of this listing, you
could post-process (filter) the output with grep and/or sed to see specific
fields.
Attributes for a particular software level are displayed based on the
software product name given with the swlist command. For example,
swlist -v NETWORKING gives:
tag NETWORKING
instance_id 7869
control_directory
size 9072
revision 2.1
title Network Software
mod_time
directory
Table 3-5 Listing Depots
swlist syntax result
swlist -l depot list all depots on the local host
swlist -l depot @ hostA list all depots on hostA
swlist -l depot -v @ hostB list, in verbose mode, all depots
on hostB