Software Distributor Administrator Guide (September 2010)

3.1.4.6.5 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:
Table 3-5 Listing Depots
resultswlist syntax
list all depots on the local host
swlist -l depot
list all depots on hostA
swlist -l depot @ hostA
list, in verbose mode, all depots on hostB
swlist -l depot -v @ hostB
3.1.4.6.6 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
vendor.information Hewlett-Packard Company
is_locatable true
architecture HP-UX_9000
machine_type 9000
os_name HP-UX
target.os_release B.11.00*
If the -v option is used with the -l option, the cases are:
To display all attributes for a bundle, use swlist -v -l bundle.
To display all attributes for a product, use swlist -v -l product.
To display all attributes for products and subproducts, use swlist -v -l
subproduct.
3.1 Listing Your Software (swlist) 95