How to see number of connection in zookeeper

10,315

Solution 1

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.

Solution 2

please input:

echo cons | nc localhost 2181
Share:
10,315
XMen
Author by

XMen

Updated on June 09, 2022

Comments