linux 查看zookeeper server运行版本号

时间:2024-01-27 07:49:47

zookeeper版本查看运行命令:echo stat|nc localhost 2181

显示如下图所示:

Zookeeper version: 3.4.5-cdh6.3.2--1, built on 11/08/2019 13:15 GMT
Clients:
 /127.0.0.1:44814[0](queued=0,recved=1,sent=0)

Latency min/avg/max: 0/0/0
Received: 9
Sent: 0
Connections: 1
Outstanding: 0
Zxid: 0x68
Mode: standalone
Node count: 4