swremove.1m (2012 03)

s
swremove(1M) swremove(1M)
file swagent.log beneath the depot directory (for example,
/var/spool/sw).
You can view command and target log files using the
sd or swjob command.
swagentd Disabled
If the
swagentd daemon has been disabled on the host, it can be enabled by the host’s system adminis-
trator by setting the SW_ENABLE_SWAGENTD
entry in
/etc/rc.config.d/swconfig
to 1 and exe-
cuting
/usr/sbin/swagentd -r
.
EXAMPLES
Preview the remove of the C and Pascal products installed at the local host:
swremove -p cc pascal
Remove the C and Pascal products from several remote hosts:
swremove cc pascal @ hostA hostB hostC
Remove a particular version of HP Omniback:
swremove Omniback,l/opt/Omniback_v2.0
Remove the entire contents of a local depot:
swremove -d \* @ /var/spool/sw
Remove the entire contents of a local depot from the directory depot /tmp/software
while in the direc-
tory
/tmp:
swremove \* @ ./software
FILES
$HOME/.swdefaults
Contains the user-specific default values for some or all SD options. If this file does not exist, SD
looks for user-specific defaults in
$HOME/.sw/defaults
.
$HOME/.sw/defaults.hosts
Contains the user-specific default list of hosts to manage.
$HOME/.sw/sessions/
Contains session files automatically saved by the SD commands, or explicitly saved by the user.
/usr/lib/sw/sys.defaults
Contains the master list of current SD options with their default values.
/var/adm/sw/
The directory which contains all of the configurable and non-configurable data for SD. This
directory is also the default location of log files.
/var/adm/sw/defaults
Contains the active system-wide default values for some or all SD options.
/var/adm/sw/defaults.hosts
Contains the system-wide default list of hosts to manage.
/var/adm/sw/getdate.templ
Contains the set of date/time templates used when scheduling jobs.
/var/adm/sw/products/
The Installed Products Database (IPD), a catalog of all products installed on a system.
/var/spool/sw/
The default location of a target software depot.
AUTHOR
swremove was developed by the Hewlett-Packard Company.
SEE ALSO
swacl(1M), swagentd(1M), swask(1M), swconfig(1M), swcopy(1M), swinstall(1M), swjob(1M), swlist(1M),
swmodify(1M), swpackage(1M), swreg(1M), swverify(1M), sd(4), swpackage(4), sd(5).
Software Distributor Administration Guide , available at http://www.hp.com/go/sd-docs.
14 Hewlett-Packard Company 14 HP-UX 11i Version 3: March 2012