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

Table Of Contents
-S session_file Run the command based on values saved from a previous removal
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. See “Target Files” (page 37).
-x option=value Sets a command option to value and overrides default values
or a values in options files. See “Changing Command Options
(page 81).
-X option_file Read session options and behaviors from option_file. See
“Changing Command Options” (page 81).
software_selections The software objects to be removed. See “Software Selections
(page 35).
target_selections The target of the command. See “Target Selections” (page 37).
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 swremove.
Table 19 swremove Command Options and Default Values
loglevel=1 admin_directory=/var/adm/sw
agent_auto_exit=true lookupcache_timeout_minutes=10
mount_all_filesystems=trueagent_timeout_minutes=10000
auto_kernel_build=true polling_interval=2
preview=falseautoreboot=false
autoremove_job=false remove_empty_depot=true
remove_empty_depot_directory=falseautoselect_dependents=false
autoselect_reference_bundles= true reuse_short_job_numbers=true
rpc_binding_info=ncacn_ip_tcp:[2121]
ncadg_ip_udp:[2121]
compress_index=false
controller_source=
rpc_timeout=5
distribution_target_directory= /var/spool/sw
run_as_superuser=true
enforce_dependencies=true
run_scripts=true
enforce_scripts=true
select_local=true
enforce_selections=false
software=
force_single_target=false
software_view=products
installed_software_catalog=products
target_directory=
job_title=
targets=
loadorder_use_coreqs=true
verbose=1
log_msgid=0
write_remote_files=false
logdetail=false
logfile=/var/adm/sw/swremove.log
For More Information
See Appendix A (page 227) for complete descriptions of each default.
Remove Tasks and Examples
To remove a software product called MYSOFT from the default depot on the local host, type:
swremove -d MYSOFT
Removing Installed Software (swremove) 81