Software Distributor Administration Guide for HP-UX 11i

Managing Installed Software
Listing Your Software (swlist)
Chapter 3 99
Using the Command Line
Syntax swlist [-d|-r]] [-i] [-R][-v] [-a
attribute
] [-c
catalog
]
[-C
session_file
] [-f
software_file
] [-l
level
] [-s
source
]
[-S
session_file
][-t
target_file
][-x
option=value
]
[-X
option_file
][
software_selections
][@
target_selections
]
Options and
Operands
-d List products available from a depot. See “Listing the
Contents of a Depot (swlist -d)” on page 159.
-i Start the GUI. (See “Using the swlist GUI” on page 97.)
-r List products on an alternate root (instead of /).
-R Shorthand for
-l bundle -l product -l subproduct -l fileset
-a
attribute
Displays a specific attribute. To display multiple
attributes, specify multiple -a options. To list the full
set of attributes for a software object, use the -v option.
Note that the tag attribute is always displayed for
products, subproducts, and filesets. The path (filename)
attribute is always displayed for file objects. This
option does not apply if you use the -c option.
-v List all attributes for an object if no -a option is
specified. (Vendor-defined attributes are not included.)
The output lists one attribute per line in the format:
attribute_name attribute_value
-c
catalog
Writes full catalog structure information into the
directory specified by
catalog
. You can use this
information for distributions and to list installed
software catalog information. All attributes down to
the file level and control scripts are written. If you use
this option, the -a and -l options do not apply. See
“Requesting User Responses (swask)” on page 407.
-C
session_file
Run the command and save the current option and
operand values to a session_file for re-use in another
session. See “Session Files” on page 61.