Software Distributor Administrator Guide (September 2010)

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
swjob.
Table 6-3 swjob Command Options and Default Values
loglevel=1
match_target=false
rpc_timeout=5
run_as_superuser=true
targets=
verbose=1
admin_directory=/var/adm/sw
agent_timeout_minutes=10000
log_msgid=0
lookupcache_timeout_minutes=10
one_liner={jobid operation state progress results
title}
rpc_binding_info=ncacn_ip_tcp:[2121]
ncadg_ip_udp:[2121]
For More Information
See Appendix A (page 303) for more information about setting options and a complete
listing and description of each option.
6.3.1 swjob Attributes
Each job has its own set of attributes. These attributes include job title, date of scheduled
execution, and results. The -a option selects a specific attribute to display. You can
specify multiple -a options to display multiple attributes.
Table 6-4 Typical job attributes
The job identification number assigned by SD-UXjobid
The type of operation (install, copy, remove, verify, etc.)
operation
Current job status (completed, scheduled, or active)
state
Number of targets completed
progress
Completion status, indicating success, warnings, or errors
results
A title specified for the job by using the job_title option in swconfig,
swcopy, swinstall, swremove, or swverify (see “Managing and Tuning
Jobs with Command Options” (page 150))
title
Date at which the job was scheduled to run
schedule
Date at which information for this job was last updated
lastupdate
6.3.2 swjob Tasks and Examples
To simply list the jobs available, type:
6.3 Monitoring Jobs from the Command Line 149