查看Zookeeper的版本号
2020-06-07 本文已影响0人
王兴岭
启动Zookeeper服务
$zkServer start
输入下面命令回车执行
$echo stat|nc localhost 2181
显示结果
Zookeeper version: 3.4.10-39d3a4f269333c922ed3db283be479f9deacaa0f, built on 03/23/2017 10:13 GMT
Clients:
/127.0.0.1:51408[1](queued=0,recved=346,sent=346)
/0:0:0:0:0:0:0:1:52627[0](queued=0,recved=1,sent=0)
Latency min/avg/max: 0/0/2
Received: 347
Sent: 346
Connections: 2
Outstanding: 0
Zxid: 0x5f1
Mode: standalone
Node count: 66