Decrement the number of processes in a watcher

This comment decrement the number of processes in a watcher by -1.

ZMQ Message

{
    "command": "decr",
    "propeties": {
        "name": "<watchername>"
        "nb": <nbprocess>
    }
}

The response return the number of processes in the ‘numprocesses` property:

{ "status": "ok", "numprocesses": <n>, "time", "timestamp" }

Command line

$ circusctl descr <name> [<nbprocess>]

Options

  • <name>: name of the watcher
  • <nbprocess>: the number of processes to remove.

Project Versions

Table Of Contents

Previous topic

Add a watcher

Next topic

Get circusd stats

This Page