def get_stats(self):
        data = self._send_cmd('mntr')
        if data:
            return self._parse(data)
        else:
            data = self._send_cmd('stat')
            return self._parse_stat(data)
Get ZooKeeper server stats as a map
dataset/ETHPy150Open francelabs/datafari/debian7/zookeeper/src/contrib/huebrowser/zkui/src/zkui/stats.py/ZooKeeperStats.get_stats