Linux command line control of the Job Manager

Users on Linux machines can control certain job manager features from the command line.

How you start and stop the Job Manager depends on whether you have the Thinclient or Workstation version installed. The Job Manager automatically determines which version you have installed and sets the environment variables accordingly, before executing the requested solver.

The configuration files for the two versions are found here:

Workstation: /etc/opt/Autodesk/ami{YYYY}-{RR}

Thinclient: $INSTALLATION/mfclient.env

These two files contain a number of value=variable settings that you should only alter, if you are an experienced administrator.

Workstation

Call the control script via the command line, in the following manner:

/etc/init.d/dssp_jobserver {option}

where {option} is one of the following:

Option Effect
start

Starts the Job Manager

stop

Stops the Job Manager

status

Queries whether or not the Job Manager is running

restart

Stops, then restarts the Job Manager. This command is useful when you need to force a reread of the configuration files.

By default, the Job Manager is configured to start, automatically, for run levels 2, 3, 4 and 5. When the machine is restarted this means the Job Manager also restarts, automatically.

Thinclient

The thinclient job manager is installed in a child directory of the chosen installation directory ($INSTALLATION ). Start the Job Manager in the following manner:

$INSTALLATION /autodesk-dssp-20YY-thinclient-XXX/bin/dssp_jobserver

Tip: By default, the Job Manager (dssp-jobserver) runs as a daemon; it forks its process into the background and returns to your shell immediately. To stop the Job Manager when running as a background process, use either killall dssp_jobserver, or kill 'pidof dssp_jobserver', to terminate it immediately.

To stop the Job Manager from forking into the background, type on the command line:

$INSTALLATION /autodesk-dssp-20YY-thinclient-XXX/bin/dssp_jobserver run

Tip: When running in this fashion use Ctrl-C on the command line to kill the Job Manager.