I want to see number of connection in zookeeper runing , as m running through lily , so it is giving exception but want to check number of connection in zookeeper.
http://zookeeper.apache.org/doc/r3.1.2/zookeeperStarted.html
The ZooKeeper Admin guide has details on how to do this. Look at the "stat" command. You might also use JMX depending on your monitoring sophistication.
PS: 3.1.2 is pretty old, you should upgrade.
please input:
echo cons | nc localhost 2181
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With