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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?