Main Content

nodestatus

Status of mjs processes running on node

Syntax

nodestatus
nodestatus -flags

Description

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

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

nodestatus -flags accepts the following input flags. Multiple flags can be used together on the same command.

FlagOperation
-remotehost <hostname>Displays the status of the mjs service and the processes it maintains on the specified host. The default value is the local host.
-infolevel <level>Specifies how much status information to report, using a level of 1-3. 1 means only the basic information, 3 means all information available. The default value is 1.
-baseport <port_number>Specifies the base port that the mjs service on the remote host is using. You need to specify this only if the value of BASE_PORT in the local mjs_def file does not match the base port being used by the mjs service on the remote host.
-vVerbose mode displays the progress of the command execution.
-json

View the output in JavaScript Object Notation (JSON) format. Output in json format is easy to parse.

Examples

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

nodestatus

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

nodestatus -remotehost node27 -infolevel 2