Software Distributor Administrator Guide (September 2010)

software_selections
The software objects to be listed. See “Software
Selections” (page 47).
target_selections The target of the command. (For swlist, target_selections
are just another way to list software selections.
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 3-3 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 303) 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:/
88 Managing Installed Software