{ "info": { "author": "Matthias Lee", "author_email": "pynmonanalyzer@madmaze.net", "bugtrack_url": null, "classifiers": [], "description": "pyNmonAnalyzer\n========\n\nA tool for parsing and reshuffeling nmon's output into \"normal\" csv format.\nNmon puts out a long file with a system-info header at the beginning, followed\nby a continuous stream of time stamped readings. This format makes it difficult\nfor analysis by standard Spreadsheet viewers without a fair amount of preprocessing.\nThe pyNmonAnalyzer aims to make this simpler, faster and more effective. In one\nsweep the pyNmonAnalyzer creates CSV files and two HTML-based reports, one with static \ngraphs and one with interactive graphs powered by [dygraphs](http://dygraphs.com). This \nproject is currently a work-in-progress and therefore will hopefully improve in \nfunctionality and usability. If you have questions, find a bug or have feature requests, please do\nfile an issues [here](https://github.com/madmaze/pyNmonAnalyzer/issues)\n\n**Example Reports:**\n---------------\n- [Static Report](http://matthiaslee.com/scratch/pyNmonAnalyzer/data/report.html)\n- [Interactive Report](http://matthiaslee.com/scratch/pyNmonAnalyzer/interactiveReport.html)\n\n\nGoals:\n-----\n- make nmon log file analysis easier and faster\n- create HTML based reports with embedded graphs\n- create CSV files for more indepth data analysis\n- interactive graphs for hands on analysis, perhaps using dygraph.js\n\nGetting started:\n-----\n- [Python Nmon Analyzer: moving away from excel macros](http://matthiaslee.com/python-nmon-analyzer-moving-away-from-excel-macros/)\n\nInstallation:\n-----\npyNmonAnalyzer is now available through pip and easy_install. \nIf you have pip: \n```$> sudo pip install pyNmonAnalyzer```\n\nIf you'd like to mess with the source, please feel free to fork \nthis github repo and contribute back changes.\n\nDependencies: \n-----\nThis tool depends on the python numpy package and the matplotlib package.\n* If you are on a Debian/Ubuntu based system: `sudo apt-get install python-numpy python-matplotlib` \n* If you are on a RHEL/Fedora/Centos system: `sudo yum install python-numpy python-matplotlib`\n\n\nUsage:\n-----\n```\nusage: pyNmonAnalyzer [-h] [-x] [-d] [--force] [-i INPUT_FILE] [-o OUTDIR]\n [-c] [-b] [-t REPORTTYPE] [-r CONFFNAME]\n [--dygraphLocation DYGRAPHLOC] [--defaultConfig]\n [-l LOGLEVEL]\n\nnmonParser converts NMON monitor files into time-sorted CSV/Spreadsheets for\neasier analysis, without the use of the MS Excel Macro. Also included is an\noption to build an HTML report with graphs, which is configured through\nreport.config.\n\noptional arguments:\n -h, --help show this help message and exit\n -x, --overwrite overwrite existing results (Default: False)\n -d, --debug debug? (Default: False)\n --force force using of config (Default: False)\n -i INPUT_FILE, --inputfile INPUT_FILE\n Input NMON file\n -o OUTDIR, --output OUTDIR\n Output dir for CSV (Default: ./report/)\n -c, --csv CSV output? (Default: False)\n -b, --buildReport report output? (Default: False)\n -t REPORTTYPE, --reportType REPORTTYPE\n Should we be generating a \"static\" or \"interactive\"\n report (Default: interactive)\n -r CONFFNAME, --reportConfig CONFFNAME\n Report config file, if none exists: we will write the\n default config file out (Default: ./report.config)\n --dygraphLocation DYGRAPHLOC\n Specify local or remote location of dygraphs library.\n This only applies to the interactive report. (Default:\n http://dygraphs.com/dygraph-dev.js)\n --defaultConfig Write out a default config file\n -l LOGLEVEL, --log LOGLEVEL\n Logging verbosity, use DEBUG for more output and\n showing graphs (Default: INFO)\n```\n\nExample Usage:\n-------------\nFirst generate a report config, most likely the default is all you need. This creates ./report.config\n```$> pyNmonAnalyzer --defaultConfig```\n\nBuild HTML report with *interactive* graphs for test.nmon and store results to testReport \n```$> pyNmonAnalyzer -b -o testReport -i test.nmon```\n\nBuild HTML report with static graphs for test.nmon and store results to testReport \n```$> pyNmonAnalyzer -b -t static -o testReport -i test.nmon```\n\nCompile CSV formatted tables for data in test.nmon and store results to testOut \n```$> pyNmonAnalyzer -c -o testOut -i test.nmon```\n\nConfiguration:\n-------------\nTo control which items get graphed(CPU, MEM etc) you need to configure the report.config file. \nThis is especially important for AIX NMON systems. To get a sense of what the config file \nshould look like, run `pyNmonAnalyzer --defaultConfig` this will generate \"report.config\" in \nyour local directory. It contians two examples, one for Linux and one for AIX systems. \nAdjust them according to your device names, for Linux you'll want to set DISKBUSY to your sda1 or sdb1 or what ever.\nYou should be able to use **any** nmon performance stats, so DISKBUSY, DISKREAD, CPU1, CPU2 etc.\n\nTroubleshooting:\n---------------\n- **It crashes or my graphs don't show anything!** \n\tHave you looked at your current report.config? Is it customized to your device names?\n- **My interactive report will not display! What did I do wrong?** \n\tSince the interactive report uses javascript to load CSV files, your browser needs to be allowed to read local files(if you are viewing locally). Firefox has been the most reliable for me, chrome currently does not allow JS to access local files.\n\n**Any other problems, file an issue or send me an email.**\n\n\nLicense:\n-------\n```\nCopyright (c) 2012-2018 Matthias Lee, matthias.a.lee[]gmail.com\nLast edited: January 16th 2018\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\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/madmaze/pynmonanalyzer", "keywords": "python nmon analyzer pynmonanalyzer interactive static report visualization", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "pyNmonAnalyzer", "package_url": "https://pypi.org/project/pyNmonAnalyzer/", "platform": "", "project_url": "https://pypi.org/project/pyNmonAnalyzer/", "project_urls": { "Homepage": "https://github.com/madmaze/pynmonanalyzer" }, "release_url": "https://pypi.org/project/pyNmonAnalyzer/1.0.9/", "requires_dist": null, "requires_python": "", "summary": "Python tool for reformatting and plotting/graphing NMON output", "version": "1.0.9" }, "last_serial": 3495674, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "60243ab1228ebe8d8b33e5eff329533c", "sha256": "8cfb3a533207f3f6ffcf72905b74fcb07d3f42a2ab60924faf015fcaa7e6efc9" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.1.tar.gz", "has_sig": false, "md5_digest": "60243ab1228ebe8d8b33e5eff329533c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38963, "upload_time": "2014-08-10T23:39:25", "url": "https://files.pythonhosted.org/packages/df/e9/2469bde805830e4ca2816997d34a49cc520fc4d57f1f239226dfd52a70b2/pyNmonAnalyzer-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "bb5f7da495132c80f2a6f249bd6fe0c3", "sha256": "32812a8f535937da95fedf4f9e975b782bffcae8740322b13f1ea771e3fcdfea" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.2.tar.gz", "has_sig": false, "md5_digest": "bb5f7da495132c80f2a6f249bd6fe0c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38988, "upload_time": "2014-08-17T16:28:47", "url": "https://files.pythonhosted.org/packages/0f/37/a16969fb85c157412be15c04c1770f817bcaaad5c62b0e611f5603bf3cb5/pyNmonAnalyzer-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "5cb348cdc7382f15559a6b16cf44351e", "sha256": "e32b0d85d613b42733c196c5d29030c0edaabb31bfb76c5ee38f9ac8984981d3" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.3.tar.gz", "has_sig": false, "md5_digest": "5cb348cdc7382f15559a6b16cf44351e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39149, "upload_time": "2015-02-28T00:02:57", "url": "https://files.pythonhosted.org/packages/9f/67/9ac52f2872d2617217949bde1def73ee9f3b8eb128e56baff101970d4632/pyNmonAnalyzer-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "cefbb58c6cc67921c7b6d2ab8b371a04", "sha256": "02d3dd0e018b06a8439fcfa65f9616d7a34feb3483131f4d8a782c28af17e9cd" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.4.tar.gz", "has_sig": false, "md5_digest": "cefbb58c6cc67921c7b6d2ab8b371a04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39146, "upload_time": "2017-04-14T15:17:39", "url": "https://files.pythonhosted.org/packages/2a/e8/6bd67c516fabfa36693bc52fec6a7934562771beb7d44ebae42a58d3f063/pyNmonAnalyzer-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "769f1dd4a2243450f8fc2728a24fee7f", "sha256": "7cbe8ad7da59ab42b555c6a67dcb610db9c2973fced5744d25c03c7d1ad4aa07" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.5.tar.gz", "has_sig": false, "md5_digest": "769f1dd4a2243450f8fc2728a24fee7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43757, "upload_time": "2017-06-13T13:25:19", "url": "https://files.pythonhosted.org/packages/1e/52/4bd90b1c6c17d32e9d7ff1ddd09c6e3992b317119f66fb8ad4997ce46095/pyNmonAnalyzer-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "9eee0fb4dd3454159bcca3dbee5af524", "sha256": "2aac0be79b052250b0848475e2785a4eb119fb249b91b7ab44359c1ac47ee70e" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.6.tar.gz", "has_sig": false, "md5_digest": "9eee0fb4dd3454159bcca3dbee5af524", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43878, "upload_time": "2017-06-13T13:29:04", "url": "https://files.pythonhosted.org/packages/b8/5d/3b28215737ed6956e8cd07a70f9d1f15d1c97bf0570c8f3df2f3dcc15e89/pyNmonAnalyzer-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "924a1451d9ed5f114bb64b6b22a3828b", "sha256": "946bc38c35c36c218c1b74595ca832368dde19aaff61ddcdb24422c1ea64be1c" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.7.tar.gz", "has_sig": false, "md5_digest": "924a1451d9ed5f114bb64b6b22a3828b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44669, "upload_time": "2017-12-23T16:21:04", "url": "https://files.pythonhosted.org/packages/8b/a3/b7881b29ddb1d6b14671be00cc9c5388ca187a7fbcc91d8979a6d00ec891/pyNmonAnalyzer-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "a160c1a798683cf19344f6045e73e544", "sha256": "e5860ba4f604186eab2a420ea9f4e80dc8e277aa121991bca61f3038733f75cf" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.8.tar.gz", "has_sig": false, "md5_digest": "a160c1a798683cf19344f6045e73e544", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44900, "upload_time": "2017-12-23T16:27:13", "url": "https://files.pythonhosted.org/packages/75/b7/82ced87f6fda0d84c21953ce6fbe117f2858fc52d9f9300a9f7f1718f2c1/pyNmonAnalyzer-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "06424e2651ee3b8107c56cfab4fb86a4", "sha256": "bd418a25d82be04c676701573b1aebbbbed969d90e8cc8fcf063e1ff6e4eeda8" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.9.tar.gz", "has_sig": false, "md5_digest": "06424e2651ee3b8107c56cfab4fb86a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44933, "upload_time": "2018-01-17T02:17:31", "url": "https://files.pythonhosted.org/packages/1b/e4/b8a8f7e8a84e3a1c9f09630165b1f781ea7b3b23001647526f207afa5573/pyNmonAnalyzer-1.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "06424e2651ee3b8107c56cfab4fb86a4", "sha256": "bd418a25d82be04c676701573b1aebbbbed969d90e8cc8fcf063e1ff6e4eeda8" }, "downloads": -1, "filename": "pyNmonAnalyzer-1.0.9.tar.gz", "has_sig": false, "md5_digest": "06424e2651ee3b8107c56cfab4fb86a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44933, "upload_time": "2018-01-17T02:17:31", "url": "https://files.pythonhosted.org/packages/1b/e4/b8a8f7e8a84e3a1c9f09630165b1f781ea7b3b23001647526f207afa5573/pyNmonAnalyzer-1.0.9.tar.gz" } ] }