mkill

Use the mkill command to stop a running cell or gateway.

mkill syntax

The following figure shows the syntax for mkill.


mkill syntax

mkill [-h|?] [-z] [-q] [-c <ConfigFile>] {-p <Var>=<Value>}
[-n <cellName> | -n @Host[/Port[#Key]]]
[-l <HomeLocation>][-v] [-s] 

If you do not specify a cell to stop, this command stops the default cell, Host.

You must use the -ncellName  option on multiple cell hosts.

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

mkill option

Option

Description

-s

Performs rapid shutdown termination; bypasses StateBuilder

mkill example

The following figure shows an example of mkill:

Example of mkill

mkill -n examplecell

The preceding command produces output similar to the example shown in the following figure:

Output of mkill

server examplecell terminated

Note

The mkill -s command terminates a cell and bypasses the StateBuilder. If a user has cells set to run the StateBuilder before terminating, then mkill -s -n cellName overrides the StateBuilder option.

mkill return codes

There are no command-specific return codes for mkill. 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