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

Table Of Contents
Table 28 swjob Command Options and Default Values (continued)
targets=
one_liner={jobid operation state progress results title}
verbose=1
rpc_binding_info=ncacn_ip_tcp:[2121]
ncadg_ip_udp:[2121]
For More Information
See Appendix A (page 227) for more information about setting options and a complete listing and
description of each option.
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 29 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 completedprogress
Completion status, indicating success, warnings, or errorsresults
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 114))
title
Date at which the job was scheduled to runschedule
Date at which information for this job was last updatedlastupdate
swjob Tasks and Examples
To simply list the jobs available, type:
swjob
To display attributes of jobs on the local system, type:
swjob -v
To display attributes of jobs on remote system swbash3, type:
swjob -v @ swbash3:/var/spool/sw
Using the -a logoption lets you display log files for jobs. A job log file summarizes job details
and target actions. For example, to display the depot log file for the job swbash3-0008 on remote
system swbash3:
swjob -a log swbash3-0008 @ swbash3:/var/spool/sw
NOTE: You cannot specify any other -a options in the same command if you use -a log.
To remove job information for all previous jobs:
swjob -u \*
Managing and Tuning Jobs with Command Options
SD-UX command options let you manage and tune job behavior to best fit your environment,
particularly when you run large numbers of jobs.
See “Using Command Options (page 37) for additional information on setting command options.
114 Using Jobs and the Job Browser