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
{-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
The following code block shows the example messages depicting various cell statuses:
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.