Shell commands for monitoring batches – Apple Qmaster 2 and Compressor 2 (Distributed Processing Setup) User Manual
Page 68

68
Appendix
Command-Line Usage
Example of Shake Command XML
The code below is an example of XML code for submitting a Shake command. Notice
that because it needs to be entered as one command line, every character after
-options that isn’t alphanumeric must be preceded with a backslash (\).
/Applications/Apple\ Qmaster.app/Contents/MacOS/Apple\ Qmaster -clustername elvis
-command "Shake" -options \<command\ executable\=\"\/Applications\/Shake\/
shake.app\/Contents\/MacOS\/shake\"\ script\=\"\/Volumes\/Jaguar\/scripts\/
applestyle.shk\"\ start\=\"1\"\ end\=\"1000\"\ stepsOf\=\"1\"\ minCount\=\"10\"\
otherOptions\=\"\"\ previewNode\=\"\"\ previewWidth\=\"0\"\ shutterOn\=\"yes\"\
motion\=\"yes\"\ proxyFlags\=\"0\"\ proxyScale\=\"1.000000\"\
proxyRatio\=\"1000.000000\"\ shutter\=\"1.000000\"\>\<\/command\>
Note: Apple Qmaster stores the XML code for the last command you entered in
~Library/Preferences/com.apple.AppleQmaster.plist. You can copy the command in
XML form there, and customize it to use for a new job submission.
Shell Commands for Monitoring Batches
You can use the Batch Monitor command, Batch Monitor, with a number of command-
line options for monitoring jobs.
In the command-line descriptions below, angle brackets < > indicate a mandatory
argument in a command and brackets [ ] indicate an optional argument.
Synopsis
Below is a synopsis of the command for monitoring batches. The Batch Monitor
command is located in /Applications/Utilities/Batch Monitor.app/Contents/MacOS.
Batch Monitor [-clustername <name>] [-clusterid <user name:password@IP address:port
number>] [-jobid <identifier> -batchid <identifier>] [-timeout <seconds>] [-query
<seconds>] [-help]
To cancel a job or batch:
m
Batch Monitor [-clustername <name>] [-clusterid <IP address> <port number>
<user name> <password>] -kill -jobid <identifier> -batchid <identifier>
UP01082.Book Page 68 Wednesday, March 16, 2005 5:12 PM