Apple Qmaster 2 and Compressor 2 (Distributed Processing Setup) User Manual

Page 65

Advertising
background image

Appendix

Command-Line Usage

65

Synopsis
Below is a synopsis of the command for submitting a job to a cluster. The Compressor
command is located in /Applications/Compressor.app/Contents/MacOS.

Compressor [-clustername <name>] [-clusterid <user name:password@IP address:port
number>][-command <command type> -options <XML command> [-wd <working
directory>] [-timeout <seconds>] [-show] [-batchname <name>] [-help]

Once the job is submitted successfully, this command displays the batch ID (identifier)
and job ID (identifier) in the shell, and you can monitor the progress of a batch in the
Batch Monitor.

Command options
This table provides information about each of the command options for submitting jobs.

Submission command option

Description

[-clustername <name>]

Use to specify the name of the cluster to which you want to send
the job. Using the cluster name, Compressor looks for the cluster
on the network in order to use it.

[-batchname <name>]

Use to specify a name for the batch so that you can easily
recognize it in the Batch Monitor.

[-clusterid
<user name:password@IP
address:port number>]

Optionally, you can use -clusterid to enter the cluster ID and port
number instead of using -clustername. (When you enter the cluster
ID and port, less time is required to find the cluster on the
network.)

Or, if you used -clustername and the cluster requires a password,
use -clusterid to specify the user name and password. (You need to
include the IP address: port number as well whenever you use
-clusterid.)

Tip: Use Compressor -show to see a cluster’s IP address and port
number.

[-priority <value>]

Specifies the priority level for a job.

[-jobpath <url>]

Specifies the location of the source file.

[-settingpath <url>]

Specifies the location of the settings for the job.

[-destinationpath <url>]

Specifies the destination file URL for the job.

[-info <xml>]

Gives detailed information for a batch or a job.

[-timeout <seconds>]

Use to specify the number of seconds before Compressor can quit
when looking for a cluster. The default value is 0, which puts no
limit on the timeout and allows Compressor to browse the network
for as long as it needs to find the cluster.

[-show]

Shows the ID information for the cluster specified with -clustername
or -clusterid, or for all clusters if no cluster is specified.

[-help]

Displays information regarding the required parameters for the
Compressor command.

UP01082.Book Page 65 Wednesday, March 16, 2005 5:12 PM

Advertising