Main Content

nodestatus

R2026b

Display status of mjs processes running on node

When the mjs service is running, you can use the nodestatus command to obtain information about the mjs service processes running on the node.

The nodestatus executable resides in the folder matlabroot\toolbox\parallel\bin (Windows® operating system) or matlabroot/toolbox/parallel/bin (Linux® operating system). Enter the command at a Windows or Linux command-line prompt, respectively.

Syntax

nodestatus
nodestatus --options

Description

nodestatus displays the status of the mjs service and the processes it maintains. The mjs service must already be running on the target computer.

nodestatus --options accepts the following input options. Precede each option with two dashes (--).

Before R2026b: To specify an option, use a single dash (-).

OptionOperation
--infolevel <level>

Specify the amount of status information to display, using a level from 1 to 3. Level 1 shows basic information and level 3 shows all available information. The default value is 1.

--json

Return the status information in JSON format. Output in json format is easy to parse using code.

--remotehost <hostname>

Display the status of the mjs service and the processes it maintains on the specified host. The default value is the local host.

--baseport <port_number>

Specify the base port used by the mjs service on the remote host. Use this option only when the remote host's base port differs from the local BASE_PORT value in the mjs_def file.

--verbose, -v

Display detailed progress information about the command execution.

Examples

Display basic information about the mjs processes on the local host.

nodestatus
Job manager lookup process:
     Status                        Running
 
Job manager:
     Name                          jobManager
     Running on host               host1.dhcp.mycompany.com
     Number of workers             4
     Status                        running
     Supported releases            R2024b
     Metrics URL                   https://host1.dhcp.mycompany.com:8001

Display detailed information about the status of the mjs processes on the remote host node27.

nodestatus --remotehost node27 --infolevel 2