Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Sends the command to **circusd**

Options:

- **command** -- the command to call
- **props** -- keyword arguments to add to the call

Returns the JSON mapping sent back by **circusd**

src/c/i/circus-HEAD/circus/plugins/resource_watcher.py   circus(Download)
    def look_after(self):
        info = self.call("stats", name=self.watcher)
        if info["status"] == "error":
            self.statsd.increment("_resource_watcher.%s.error" % self.watcher)
            return

src/c/i/circus-0.10.0/circus/plugins/resource_watcher.py   circus(Download)
    def look_after(self):
        info = self.call("stats", name=self.watcher)
        if info["status"] == "error":
            self.statsd.increment("_resource_watcher.%s.error" % self.watcher)
            return