How to see number of connection in zookeeper
Asked Answered
I

2

7

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

Intern answered 11/10, 2011 at 14:0 Comment(1)
seen by cons | nc 127.0.0.1 2183 | wc -lIntern
E
7

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.

Eugenioeugenius answered 11/10, 2011 at 16:17 Comment(0)
S
1

please input:

echo cons | nc localhost 2181
Stokes answered 1/3, 2019 at 6:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.