{ "info": { "author": "Andreas Jung", "author_email": "info@zopyx.com", "bugtrack_url": null, "classifiers": [ "Framework :: Zope2", "Programming Language :: Python", "Topic :: System :: Logging", "Topic :: System :: Monitoring" ], "description": "Introduction\n============\n\n``haufe.ztop`` implements real-time Zope request analysis \non top of haufe.requestmonitoring.\n\n\nRequirements\n============\n\n* Zope 2.12.0b2 or higher (or a Zope 2 trunk checkout)\n* haufe.requestmonitoring\n\nFeatures\n========\n\nBefore you can use any of these scripts you have to make sure that your Zope \nenvironment is known to the shell. A simple ``zopectl shell`` should be enough in most cases.\n\nzanalyse\n--------\n\nUsing ``zanalyse``::\n\n zanalyse [-i intervall] [-n numberLongRequests] [[-b] requestsBasename] [[-d] startDate]\n\nprints an 'sar' like requests summary from the Zope requests log file\nidentified by *requestsBasename* and *startDate*.\n\nThe '-i' option specifies the granularity in minutes. It defaults to \"10\".\n\n*requestsBasename* is either an instance tag (in which case it expands\nto '/var/log/zope/*requestsBasename*/zope_requests.') or\nthe name of a zope requests file (not ending in '.') or of\na zope requests file family (ending in '.').\n*requestsBasename* defaults to the instance tag 'Main'.\n*startDate* must have the format year, month and day, each with 2 digits\ne.g. '040803'. It defaults to the current date. Note that *requestsBasename*\nmust be an instance tag or a family name, when you default *startDate*.\n\nExample output::\n\n $ bin/zanalyse -i 10 instance\n\n short load reqs rate avg min max median\n 0.05 217 0.36 145 3 24640 5\n 24640 /manage_menu\n 1385 /manage_main\n 1291 /Partner/manage_main\n 552 /Applikationen/manage_main\n 326 /Partner/manage_workspace\n 301 /manage_main\n 204 /p_/zopelogo_jpg\n 94 /Administration/manage_main\n\n\nztop\n----\n\nUsing ``ztop``::\n\n ztop [-i interval] [-s shortPeriod] [-m medPeriod] [-l longPeriod] \n [-n numberLongRequests [-t time] [-r]] [[-b] requestsBasename] [[-d] startDate]\n\ndisplays request information by analysis of the Zope requests log file\nidentified by *requestsBasename* and *startDate*.\n\nInformation contains summaries for up to three periods: 'short', 'med'\nand 'long'. Their length is given by *shortPeriod* (default: 120),\n*medPeriod* (default: 600) and *longPeriod* (default: 3600) in seconds.\nSummaries contain load averaged over the period, number of finished\nrequests, request rate, average, min, max and median request times (in ms)\nand the *numberLongRequests* (default: 3) longest requests in this period.\nA period length of \"0\" suppresses information about this period.\n\nThe information is repeated every *interval* seconds.\n*interval* defaults to the value of *shortPeriod* or 120.\nA \"0\" value causes 'ztop' to stop after one display.\n\nThe '-t' option tells 'ztop' to display information for *time*\nand then to stop. *time* is an ISO datetime or time value,\ne.g. '2004-08-03T12:00:00' or '12:00:00'.\n\nThe '-r' option tells 'ztop' to display information for the last\nrestart time and then to stop. '-r' is equivalent to '-t '.\nThis is meant to facilitate the analysis of restarts.\n\n*requestsBasename* is either an instance tag (in which case it expands\nto '/var/log/zope/*requestsBasename*/zope_requests.') or\nthe name of a zope requests file (not ending in '.') or of\na zope requests file family (ending in '.').\n*requestsBasename* defaults to the instance tag 'Main'.\n*startDate* must have the format year, month and day, each with 2 digits\ne.g. '040803'. It defaults to the current date. Note that *requestsBasename*\nmust be an instance tag or a family name, when you default *startDate*.\n\nExample output::\n\n $ bin/ztop -i 10 instance\n\n short load reqs rate avg min max median\n 0.00 4 0.03 9 4 25 4\n 25 /Control_Panel/ZTop/manage_monitor\n 4 /p_/ltab\n 4 /p_/sp\n\n med load reqs rate avg min max median\n 0.00 20 0.03 17 4 146 8\n 146 /Control_Panel/ZTop/manage_monitor\n 25 /Control_Panel/ZTop/manage_monitor\n 25 /Control_Panel/ZTop/manage_monitor\n\n long load reqs rate avg min max median\n 0.01 468 0.13 90 3 24640 6\n 24640 /manage_menu\n 1788 /Auftritte/manage_main\n 1385 /manage_main\n\nInstallation\n============\n\n* add ``haufe.ztop`` to the ``eggs`` option of your buildout configuration\n* create the related scripts using a dedicated ``ztop`` part::\n\n [buildout]\n parts = ... ztop ...\n\n\n [ztop]\n recipe = zc.recipe.egg\n eggs = haufe.ztop \n\n\nAuthor\n======\n\nDieter Maurer, Haufe Mediengruppe\n\nMaintainer\n==========\n\nAndreas Jung, Haufe Mediengruppe\n\nLicense\n=======\n\n``haufe.ztop`` is published under the Zope Public License V 2.1 (ZPL)\nSee LICENSE.txt.\n\n\n\nChangelog\n=========\n\n0.2.2 (2009/08/11)\n------------------\n\n* additional fixes to zanalyse.py\n\n0.2.1 (2009/08/11)\n------------------\n\n* fixed spelling of 'zanalyse'\n\n\n0.2.0 (2009/05/12)\n------------------\n\n* Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "", "license": "ZPL (see LICENSE.txt)", "maintainer": null, "maintainer_email": null, "name": "haufe.ztop", "package_url": "https://pypi.org/project/haufe.ztop/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/haufe.ztop/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/haufe.ztop/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Real-time Zope request analysis based on haufe.requestmonitoring", "version": "0.2.2" }, "last_serial": 792849, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "51f1e29f173dca94e7811a4405cd10dc", "sha256": "ba3eaf206974096c07f313a37e425111af6b82d92e58aa878b476ba5f7f08335" }, "downloads": -1, "filename": "haufe.ztop-0.2.0.tar.gz", "has_sig": false, "md5_digest": "51f1e29f173dca94e7811a4405cd10dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9339, "upload_time": "2009-05-12T11:47:22", "url": "https://files.pythonhosted.org/packages/b9/b1/e7f927fa95456091a5a713ad033f707ba6aa72c4a2f91dc60bb1d91dc82b/haufe.ztop-0.2.0.tar.gz" } ], "0.2.1": [], "0.2.2": [ { "comment_text": "", "digests": { "md5": "055426db0c69027e65661f59c46a52f9", "sha256": "40f985f1bef5436021d0940274d3c374f8061defc52b906812400e3a1170a661" }, "downloads": -1, "filename": "haufe.ztop-0.2.2.tar.gz", "has_sig": false, "md5_digest": "055426db0c69027e65661f59c46a52f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10937, "upload_time": "2009-08-11T14:39:45", "url": "https://files.pythonhosted.org/packages/1f/8d/3dce580ecd39bc08ad40fc52078c511144ff005683caf5326b77f8f21659/haufe.ztop-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "055426db0c69027e65661f59c46a52f9", "sha256": "40f985f1bef5436021d0940274d3c374f8061defc52b906812400e3a1170a661" }, "downloads": -1, "filename": "haufe.ztop-0.2.2.tar.gz", "has_sig": false, "md5_digest": "055426db0c69027e65661f59c46a52f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10937, "upload_time": "2009-08-11T14:39:45", "url": "https://files.pythonhosted.org/packages/1f/8d/3dce580ecd39bc08ad40fc52078c511144ff005683caf5326b77f8f21659/haufe.ztop-0.2.2.tar.gz" } ] }