Telnet tests whether the zookeeper started successfully

Source: Internet
Author: User

in the Linux environment, in some cases we would like to see if the successful launch of the Zookeeper, We can use it. telnet the way


Steps:

    1. Login in the Linux OS

    2. Input the command: telnet localhost 2181

    3. If you see the info: mode:standalone


Login As:root
[email protected] ' s password:
Last login:tue June 22:56:10 from cn-tangym-2.ap.uis.unisys.com
[[email protected] ~]# telnet localhost 2181
Trying:: 1 ...
Connected to localhost.
Escape character is ' ^] '.
Stat
Zookeeper version:3.4.9-1757313, built on 08/23/2016 06:50 GMT
Clients:
/0:0:0:0:0:0:0:1:38156[0] (queued=0,recved=1,sent=0)
/0:0:0:0:0:0:0:1:44030[1] (queued=0,recved=8966,sent=8966)
/0:0:0:0:0:0:0:1:44026[1] (queued=0,recved=8966,sent=8966)
/127.0.0.1:59158[1] (queued=0,recved=8966,sent=8966)

Latency min/avg/max:0/0/477
received:223306
sent:68118
Connections:4
outstanding:0
Zxid:0x64
Mode:standalone
Node count:26
Connection closed by foreign host.
[Email protected] ~]#



This article is from the Software Architecture and development blog, so be sure to keep this source http://yuanzhitang.blog.51cto.com/2769219/1936511

Telnet tests whether the zookeeper started successfully

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.