Software Distributor Administrator Guide (September 2010)
-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” (page 52).
-f object_file
Reads a list of depots or root objects to register or
unregister from a object_file instead of (or in
addition to) the command line.
-S session_file
Run the command based on values saved from a
previous session, as defined in session_file. See
“Session Files” (page 52).
-t target_file
Read a list of target selections from a separate file instead
of (or in addition to) the command line. See “Target
Files” (page 50).
-x option=value Sets a command option to value and overrides default
values or a values in options files. See “Using Command
Options” (page 50).
-X option_file Read session options and behaviors from option_file.
See “Using Command Options” (page 50).
objects_to_register
The software objects to be registered or unregistered.
@target_selections
The target on which the objects will be registered or
unregistered. See “Target Selections” (page 49).
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
swreg:
Table 4-5 swreg 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
• select_local=true
• target_directory=
• targets=
• verbose=1
• admin_directory=/var/adm/sw
• distribution_target_directory=/var/spool/sw
• level=
• log_msgid=0
• logfile=/var/adm/sw/swreg.log
• logdetail=false
• loglevel=1
• lookupcache_timeout_minutes=10
• objects_to_register=
For More Information
See Appendix A (page 303) for complete descriptions of each default.
4.3 Registering and Unregistering Depots (swreg) 127