{ "info": { "author": "Patrick Hunt", "author_email": "phunt1@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: System :: Monitoring" ], "description": "h1. ZooKeeper top\n\n*Author: \"Patrick Hunt\":http://people.apache.org/~phunt/* (follow me on \"twitter\":http://twitter.com/phunt)\n\nh2. Summary\n\n\"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.\n\nh3. Example\n\nRunning:\n\n
\n./zktop.py --servers \"localhost:2181,localhost:2182,localhost:2183\"\n
\n\nor - omitting the port numbers, defaulting to 2181 -\n\n
\n./zktop.py --servers \"server1,server2,server3\"\n
\n\nor, for a ZK-style configuration file:\n\n
\n./zktop.py --config zk.conf\n
\n\nshows a screen like:\n\n
\nEnsemble -- nodecount:10 zxid:0x1300000001 sessions:4\n\nSERVER           PORT M      OUTST    RECVD     SENT CONNS MINLAT AVGLAT MAXLAT\nlocalhost        2181 F          0       93       92     2      2      7     13\nlocalhost        2182 F          0       37       36     1      0      0      0\nlocalhost        2183 L          0       36       35     1      0      0      0\n\nCLIENT           PORT I   QUEUE RECVD  SENT\n127.0.0.1       34705 1       0    56    56\n127.0.0.1       35943 1       0     1     0\n127.0.0.1       33999 1       0     1     0\n127.0.0.1       37988 1       0     1     0\n
\n\nh3. What's Apache ZooKeeper?\n\n>From the \"official site\":http://hadoop.apache.org/zookeeper/: \"ZooKeeper is a high-performance coordination service for distributed applications.\"\n\nIt 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.\n\nh2. zktop.py\n\n0) Top line is overall cluster status\n1-n) Lines 1-n are for the n servers\nn+1 and below are for client connections\n\nh3. Usage\n\n
\nUsage: zktop.py [options]\n\nOptions:\n  -h, --help            show this help message and exit\n  --servers=SERVERS     comma separated list of host:port (default\n                        localhost:2181)\n  -n, --names           resolve session name from ip (default False)\n  --fix_330             workaround for a bug in ZK 3.3.0\n  -v VERBOSITY, --verbosity=VERBOSITY\n                        log level verbosity (DEBUG, INFO, WARN(ING), ERROR, CRITICAL/FATAL))\n  -l LOGFILE, --logfile=LOGFILE\n                        directory in which to place log file, or empty for\n                        none\n  -c CONFIGFILE, --config=CONFIGFILE\n                        zookeeper configuration file to lookup servers from\n
\n\n--fix_330 works around a bug in ZooKeeper 3.3.0, it is only necessary if running the server against that version of ZooKeeper.\n\nThe screen refreshes every 3 seconds.\n* 'h' help\n* 'q' quits\n* 'r' resets the server stats\n* spacebar updates immediately\n\nh2. PyPi\n\nzktop is now installable from PyPi\n\n
\npip install zktop\n
\n\nh2. License\n\nThis project is licensed under the Apache License Version 2.0\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/phunt/zktop", "keywords": "zookeeper top monitoring", "license": "Apache v2", "maintainer": "", "maintainer_email": "", "name": "zktop", "package_url": "https://pypi.org/project/zktop/", "platform": "", "project_url": "https://pypi.org/project/zktop/", "project_urls": { "Homepage": "https://github.com/phunt/zktop" }, "release_url": "https://pypi.org/project/zktop/1.0.0/", "requires_dist": null, "requires_python": ">=2.6", "summary": "top for Apache ZooKeeper", "version": "1.0.0" }, "last_serial": 2978413, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d40fcc35aed84f394578ddf2a8f3a592", "sha256": "a558be048e69e50896e4ad80631accb67d371a9253a5c61107b778125d7ef10f" }, "downloads": -1, "filename": "zktop-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d40fcc35aed84f394578ddf2a8f3a592", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6", "size": 9738, "upload_time": "2017-06-26T03:06:29", "url": "https://files.pythonhosted.org/packages/ae/c1/335d7264ec968d0a8c1bf1dfdd0c1b86a72970e9791716ec98024a0ca812/zktop-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "922ec7a89cdc78441e779a0699153f11", "sha256": "a023f6c92c0d2679a3f93b7f12a032160add19b33801ef7602b50607db2e99f2" }, "downloads": -1, "filename": "zktop-1.0.0.tar.gz", "has_sig": false, "md5_digest": "922ec7a89cdc78441e779a0699153f11", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6", "size": 7860, "upload_time": "2017-06-26T03:06:31", "url": "https://files.pythonhosted.org/packages/9d/25/b2509747f590e4bc3c1249b12bccf58dc97691a02d5acc5b7b06f96e0955/zktop-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d40fcc35aed84f394578ddf2a8f3a592", "sha256": "a558be048e69e50896e4ad80631accb67d371a9253a5c61107b778125d7ef10f" }, "downloads": -1, "filename": "zktop-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d40fcc35aed84f394578ddf2a8f3a592", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6", "size": 9738, "upload_time": "2017-06-26T03:06:29", "url": "https://files.pythonhosted.org/packages/ae/c1/335d7264ec968d0a8c1bf1dfdd0c1b86a72970e9791716ec98024a0ca812/zktop-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "922ec7a89cdc78441e779a0699153f11", "sha256": "a023f6c92c0d2679a3f93b7f12a032160add19b33801ef7602b50607db2e99f2" }, "downloads": -1, "filename": "zktop-1.0.0.tar.gz", "has_sig": false, "md5_digest": "922ec7a89cdc78441e779a0699153f11", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6", "size": 7860, "upload_time": "2017-06-26T03:06:31", "url": "https://files.pythonhosted.org/packages/9d/25/b2509747f590e4bc3c1249b12bccf58dc97691a02d5acc5b7b06f96e0955/zktop-1.0.0.tar.gz" } ] }