mozilla

Get the value of specific watcher options

This command can be used to query the current value of one or more watcher options.

ZMQ Message

{
    "command": "get",
    "properties": {
        "keys": ["key1, "key2"]
        "name": "nameofwatcher"
    }
}

A request message contains two properties:

  • keys: list, The option keys for which you want to get the values
  • name: name of watcher

The response object has a property options which is a dictionary of option names and values.

eg:

{
    "status": "ok",
    "options": {
        "graceful_timeout": 300,
        "send_hup": True,
    },
    time': 1332202594.754644
}

Command line

$ circusctl get <name> <key1> <key2>