mcstat

The mcstat command obtains the status of a cell. This command shows whether a cell is running or stopped.

mcstat Syntax

The following figure shows the syntax for mcstat.

mcstat syntax

mcstat [-h|?] [-z] [-q] [-c <ConfigFile>] [-i UserID[/Password][@Host[/Port]]]
{-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

-tTimeOut

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 figure:

mcstat example

mcstat -n examplecell

If the cell is not running, a message similar to the example shown in the following figure appears.

Message for cell not running

Could not connect to Cell examplecell. 

If the cell is running, the message shown in the following figure appears.

Message for cell running

Running 

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