验证zookeeper安装成功四字命令

telnet localhost 2181

输出结果:

Trying ::1...
Connected to localhost.
Escape character is '^]'.
直接向下输入
srvr

然后会显示zookeeper的信息:

Zookeeper version: 3.4.13-2d71af4dbe22557fda74f9a9b4309b15a7487f03, built on 06/29/2018 00:39 GMT
Latency min/avg/max: 0/0/1656
Received: 123962
Sent: 123780
Connections: 1
Outstanding: 0
Zxid: 0x2fa
Mode: standalone
Node count: 164
Connection closed by foreign host.

猜你喜欢

转载自blog.csdn.net/changyinling520/article/details/84864727
今日推荐