stopjobmanager
R2026bStop job manager process
When you need to shut down a job manager, use the
stopjobmanager script to stop it gracefully. By default, checkpoint
information is preserved so the job manager can resume with its previous state when
restarted.
The
stopjobmanager executable resides in the folder
(Windows® operating system) or matlabroot\toolbox\parallel\bin
(Linux® operating system). Enter the command at a Windows or Linux command-line prompt, respectively.matlabroot/toolbox/parallel/bin
Syntax
stopjobmanager
stopjobmanager --options
Description
stopjobmanager stops a job manager that is running under the
mjs service.
stopjobmanager accepts the
following input options. You can use multiple options together in the same command. Precede
each option with two dashes (--options--).
Before R2026b: To specify an option, use a single dash
(-).
| Option | Operation |
|---|---|
--name <job_manager_name> | Specify the name of the job manager to stop. The default is the value
of the |
--clean | Delete all checkpoint information, job, and task data stored on disk for the current job manager instance after it stops. |
--cleanPreserveJobs | Delete all checkpoint information stored on disk for the current job manager instance after it stops. This option preserves existing jobs and task data. |
--remotehost <hostname> | Specify the host on which to stop the job manager and the associated lookup process. If you do not specify a host, the command stops both processes running on the local host. |
--baseport <port_number> | Specify the base port used by the |
--secretfile <path_to_shared_secret_file> |
Specify the path to the shared secret file to use to sign the
command. This option is required when the $CHECKPOINTBASE/security/secret |
--verbose, -v | Display detailed progress information about the command execution. |
Examples
Stop the job manager named MyJobManager on the local
host.
stopjobmanager --name MyJobManagerStop the job manager named MyJobManager running on the remote host
JMHost.
stopjobmanager --name MyJobManager --remotehost JMHostSee Also
mjs | nodestatus | startjobmanager | startworker | stopworker