mcstat

The mcstat command obtains the status of a cell such as: Running, Not Running, and Not Responding.

mcstat Syntax

The following figure shows the syntax for mcstat.

mcstat syntax

mcstat [-h|?] [-z] [-q] [-c <ConfigFile>] 
{-p <Var Value>} [-n <cellName> | -n @Host[/Port[#Key]]] [-v] [-t <TimeOut> ]

The following table lists the command-specific option for mcstat. For a list of common command options that apply to all CLI commands, see Event management common command options.

mcstat option

Option

Description

-t TimeOut

Specifies the length of time, in milliseconds, for the command to wait for answer before terminating; default is 60000, or 1 minute

mcstat example

To obtain the status for a cell named examplecell, type the command shown in the following code block:

mcstat example

mcstat -n examplecell

The following code block shows the example messages depicting various cell statuses:

#The following message is displayed when the the cell is not running.

Not Running

#The following message is displayed when the the cell is running.

Running

#The following message is displayed when the the cell is busy and not responding.

Not Responding

mcstat return codes

There are no command-specific return codes for mcstat. For a list of common return codes that apply to all CLI commands, see Event management return codes.

Was this page helpful? Yes No Submitting... Thank you

Comments