Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
-l level List all software objects down to the specified level: depot, bundle,
product, subproduct, fileset or file. (See the section
“Listing Software by Levels” (page 68) for more information on
levels.) You can use only one level designation per command. You
cannot use software names, subproduct names, etc. to specify levels.
This option does not apply if you use the -c option.
Table 12 The -l Options
ActionOption
Shows the root level (roots on the specified
target hosts)
swlist -l root
Shows the shared rootsswlist -l shroot
Shows the private rootsswlist -l prroot
Shows only bundlesswlist -l bundle
Shows only productsswlist -l product
Shows products and subproductsswlist -l subproduct
Shows products, subproducts and filesetsswlist -l fileset
Shows products, subproducts, filesets, files and
numbers (used in software licensing).
swlist -l file
Shows all categories of available patches for
patches that have included category objects in
their definition.
swlist -l category
Shows all applied patches.swlist -l patch
-s source Specify which software source is to be listed. The default source
type is a directory or depot (usually /var/spool/sw) on the local
host. The syntax is: [host][:][/directory] |
[./relative_path] | [../relative_path]
host may be a host name, domain name, or internet address (for
example, 15.1.48.23). directory is an absolute path. To specify
a relative_path when no host is specified, the relative_path
must start with ./ or ../; otherwise, the specified name is
considered as a host.
-S session_file Run the command based on values saved from a previous installation
session, as defined in session_file. See “Session Files
(page 39).
-t target_file Read a list of target selections from a separate file instead of (or in
addition to) the command line.
-x option=value Sets a command option to value and overrides default values
or a values in options files. See “Changing Command Options
(page 65).
-X option_file Read session options and behaviors from option_file. See
“Changing Command Options” (page 65).
software_selections The software objects to be listed. See “Software Selections
(page 35).
target_selections The target of the command. (For swlist, target_selections are just
another way to list software selections.
64 Managing Installed Software