zktop

top for Apache ZooKeeper

  • Owner: phunt/zktop
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownerphunt/zktop
Primary LanguagePython
Program languagePython (Language Count: 1)
Platform
License:Apache License 2.0
所有者活动
Created At2009-11-05 07:25:03
Pushed At2021-01-22 22:02:19
Last Commit At2021-01-22 14:02:17
Release Count1
Last Release Name1.0.0 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count326
Watchers Count32
Fork Count85
Commits Count46
Has Issues Enabled
Issues Count11
Issue Open Count6
Pull Requests Count13
Pull Requests Open Count2
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private