Using the command line for distributed processing, Synopsis, Command options – Apple Compressor 3 User Manual
Page 360
Using the Command Line for Distributed Processing
The following sections describe how to issue shell commands (from the command line)
to run your distributed processing network.
Shell Commands for Configuring Service Nodes and Cluster Controllers
As an alternative to using the Apple Qmaster pane in System Preferences, you can use
the command
qmasterprefs
, with command-line options for enabling and disabling
service node and cluster-controlling services.
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 enabling and disabling Apple Qmaster services
on a computer. The
qmasterprefs
command is located in /usr/sbin.
qmasterprefs [options] [-cluster <on | off> [options]] [-service <name> <on
| off> [options]]
Command Options
This table provides information about each of the enabling and disabling service-node
and cluster-controlling services on a computer.
Description
Preference command option
Displays information about supported options for
qmasterprefs
.
-help
Lists the current
qmasterprefs
settings.
-list
Restarts cluster processes.
cancelJobs
deletes batches in the
queue.
-resetCluster
[cancelJobs]
Enables or disables Bonjour advertisements.
-allowBonjourDiscovery
<on | off>
Sets sharing state. (Similar to the Apple Qmaster pane in System
Preferences.)
-startSharing
[servicesOnly |
servicesAndCluster |
servicesAndQuickCluster]
Stops Apple Qmaster services on local computer.
-stopSharing
Restarts all Apple Qmaster services.
-restart
Resets Apple Qmaster services to default configuration.
-reset
Automatically launches content agent at startup.
-launchContentAgent <on
| off>
Sets logging level. Default is 3. Off is 0. Sets whether logs are
overwritten when services are restarted.
-log [0-5] [truncate on
| off]
Displays service node status indicator in menu bar.
-statusMenu <on | off>
360
Appendix C
Using the Command Line