Command-line usage, Using the command line, Appendix b – Apple Compressor 2 User Manual

Page 245

Advertising
background image

245

B

A

p

pendix

B

Command-Line Usage

Using the Command Line

If you are accustomed to doing your work from Terminal shells, and need or prefer to
run Compressor from the command line with minimal use of application interfaces, this
appendix is for you.

The appendix includes the following topics:

Â

Shell Commands for Configuring Service Nodes and Cluster Controllers

” (next)

Â

Shell Commands for Submitting Compressor Jobs

(p. 246)

Â

Shell Commands for Monitoring Batches

(p. 248)

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 cluster controlling
services on a computer. The qmasterprefs command is located in /usr/sbin.

qmasterprefs -cluster <on | off> [-timeout <minutes>] [-servername <name>] [-list] [-help]

Below is a synopsis of the command for enabling and disabling service node
processing on a computer.

qmasterprefs -service “Unix Processing” <on | off> [-instances <n>] [-timeout <minutes>]
[-servername <name>] [-list] [-help]

Advertising