zktop

top for Apache ZooKeeper

  • 所有者: phunt/zktop
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

h1. ZooKeeper top

Author: "Patrick Hunt":http://people.apache.org/~phunt/ (follow me on "twitter":http://twitter.com/phunt)

h2. Summary

"This project":http://github.com/phunt/zktop provides a unix "top" like utility for ZooKeeper. It is compatible with Python2.6, Python2.7 and Python3.

h3. Example

Running:

or - omitting the port numbers, defaulting to 2181 -

or, for a ZK-style configuration file:

shows a screen like:

h3. What's Apache ZooKeeper?

From the "official site":http://hadoop.apache.org/zookeeper/: "ZooKeeper is a high-performance coordination service for distributed applications."

It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so you don't have to write them from scratch. You can use it off-the-shelf to implement consensus, group management, leader election, and presence protocols.

h2. zktop.py

  1. Top line is overall cluster status
    1-n) Lines 1-n are for the n servers
    n+1 and below are for client connections

h3. Usage

--fix_330 works around a bug in ZooKeeper 3.3.0, it is only necessary if running the server against that version of ZooKeeper.

The screen refreshes every 3 seconds.

  • 'h' help
  • 'q' quits
  • 'r' resets the server stats
  • spacebar updates immediately

h2. PyPi

zktop is now installable from PyPi

h2. License

This project is licensed under the Apache License Version 2.0

主要指标

概览
名称与所有者phunt/zktop
主编程语言Python
编程语言Python (语言数: 1)
平台
许可证Apache License 2.0
所有者活动
创建于2009-11-05 07:25:03
推送于2021-01-22 22:02:19
最后一次提交2021-01-22 14:02:17
发布数1
最新版本名称1.0.0 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数326
关注者数32
派生数85
提交数46
已启用问题?
问题数11
打开的问题数6
拉请求数13
打开的拉请求数2
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?