Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)
Syntax
swjob [XToolkit_Options][-i][-R][-u][-v][-a attribute] [-C session_file][-f jobid_file]
[-S session_file][-t target_file][-x option=value]
[-X option_file][jobid][@ target_selections]
Options and Operands
XToolkit_Options X window options for use with swjob -i. See “XToolkit Options and
Changing Display Fonts ” (page 34).
-i Starts the SD interactive job browser. See “Using the Job Browser ”
(page 106).
-u Causes swjob to remove the specified jobs.
-v List all available job attributes, one per line.
-a attribute Display a specific attribute for the job. See “swjob Tasks and Examples”
(page 116) for more information.
-C session_file Run the command and save the current option and operand values to
a session_file for re-use in another session. See “Session Files”
(page 39).
-f jobid_file Read a list of job IDs from a separate file instead of (or in addition to)
jobs you specify on the command line. (Use these files just like software
files. See “Software Files” (page 36).)
-R Applies to target lists as a shorthand for @ *::*.
-S session_file Run the command based on values saved from a previous installation
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) those you specify on 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 “Using Command Options” (page 37).
-X option_file Read session options and behaviors from option_file. See “Using
Command Options” (page 37).
jobid One or more identification numbers for an SD-UX operation. You can
read jobid numbers from the Job Browser when you set up or monitor
your jobs interactively.
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 swjob.
Table 27 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]
6.3 Monitoring Jobs from the Command Line 115