Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)
Changing Command Options
You can change the behavior of this command by specifying additional command-line options
when you invoke the command (using the -xoption) or by reading predefined values from a file.
The following table shows the defaults and options that apply to swlist.
Table 13 swlist Command Options and Default Values
• rpc_binding_info=ncacn_ip_tcp:[2121]
ncadg_ip_udp:[2121]
• rpc_timeout=5
• run_as_superuser=true
• select_local=true
• show_superseded_patches=false
• software=
• software_view=all_bundles
• target_directory=
• targets=
• verbose=1
• admin_directory=/var/adm/sw
• agent_timeout_minutes=10000
• codeword=
• customer_id=
• distribution_target_directory=/var/spool/sw
• installed_software_catalog=products
• layout_version=1.0
• level=
• log_msgid=1
• lookupcache_timeout_minutes=10
• one_liner=revision title
• patch_one_liner=title patch_state
For More Information
See Appendix A (page 235) for complete descriptions of each default.
3.1.4 Software Listing Tasks and Examples
To run the swlist interactive interface:
swlist -i @ host1
To use interactive swlist to view a depot:
swlist -i -d @ /tmp/depot
To produce a list of the software (by name) installed at root (/) on your local host, you would
simply type:
swlist
Which might produce a listing on your display like this:
# Initializing...
# Contacting target "xxyyzz"...
#
# Target: xxyyzz:/
# Bundle(s):
B3782CA B.11.00 HP-UX Media Kit (Reference Only. See Descr.)
B3898AA B.11.00 HP C/ANSI C Developer’s Bundle for HP-UX 11.00
HPUXEngRT B.11.00 English HP-UX Run-time Environment
# Product(s) not contained in a Bundle:
HMS 1.01
OBAM5_0 B.11.00 ObAM 5.0
Using swlist with no options set and no software selected gives you a listing of all software
bundles plus all products that are not part of a bundle. Adding the -d option gives you the same
listing of software residing in the default depot on your local host.
3.1 Listing Your Software (swlist) 67