HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

s
swjob(1M) swjob(1M)
Logging
The swjob command does not log summary events. It logs events about each read task to the
swagent
logfile associated with each target_selection.
swagentd Disabled
If the
swagentd daemon has been disabled on the host, it can be enabled by the host’s system administra-
tor by setting the SW_ENABLE_SWAGENTD
entry in /etc/rc.config.d/swconfig
to 1 and exe-
cuting
/usr/sbin/swagentd -r
.
EXAMPLES
To list all of the jobs that exist on the local host:
swjob
To show the scheduled date for job hostA-0001:
swjob -a schedule hostA-0001
For job hostA-0001 list the targets and their status:
swjob -R hostA-0001
or
swjob hostA-0001 @ *::*
For job hostA-0001 list the controller log:
swjob -a log hostA-0001
For job hostA-0001 list the targetA agent log:
swjob -a log targetA-0001 @ targetA
FILES
$HOME/.swdefaults
Contains the user-specific default values for some or all SD options.
/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 logfiles.
/var/adm/sw/defaults
Contains the active system-wide default values for some or all SD options.
/var/adm/sw/queue/
The directory which contains the information about all active and complete install jobs, copy jobs, and
other jobs initiated by the SD commands.
AUTHOR
swjob was developed by the Hewlett-Packard Company.
SEE ALSO
install-sd(1M), swacl(1M), swagentd(1M), swask(1M), swconfig(1M), swcopy(1M), swinstall(1M), swlist(1M),
swmodify(1M), swpackage(1M), swreg(1M), swremove(1M), swverify(1M), sd(4), swpackage(4), sd(5).
Software Distributor Administration Guide, available at http://docs.hp.com
.
SD customer web site at
http://docs.hp.com/en/SD/.
HP-UX 11i Version 2: December 2007 Update 6 Hewlett-Packard Company 479