Menu

Home

Richard Magyar

Welcome to PyNmonGraph tool's home page!

Python based NMON analyzer tool based on pyNmonAnalyzer

The goal of this tool is to provide the same (or even more) features as the Excel based nmon_analyzer tool with the following benefits:

  • Platform independent
  • Single Python script
  • Ability to parse and analyze huge (more than 100MB size nmon files)
  • Static HTML report
  • CSV generation for further tooling
  • Advanced metrics, such as standard deviation and weighted average
  • More to come...

Open Source
Feel free to fork or contribute at https://github.com/rmagyar/PyNmonGraph

**Dependencies: **

This tool depends on the python numpy package and the matplotlib package and Python 2.7

  • If you are on a Debian/Ubuntu based system: sudo apt-get install python-numpy python-matplotlib
  • If you are on a RHEL/Fedora/Centos system: sudo yum install python-numpy python-matplotlib
  • If you are on Windows: Install Anaconda (https://www.continuum.io/downloads) as it has all the required modules

Usage:

usage: pyNmonGraph.py [-h] [-x] [-d] [--force] [-i INPUT_FILE] [-I INPUT_DIR]
                      [-o OUTDIR] [-c] [-b] [-r CONFFNAME]

nmonParser converts NMON monitor files into time-sorted CSV/Spreadsheets for
easier analysis, without the use of the MS Excel Macro. Also included is an
option to build an HTML report with graphs, which is configured through
report.config.

optional arguments:
  -h, --help            show this help message and exit
  -x, --overwrite       overwrite existing results (Default: False)
  -d, --debug           debug? (Default: False)
  --force               force using of config (Default: False)
  -i INPUT_FILE, --inputfile INPUT_FILE
                        Input NMON file
  -I INPUT_DIR, --inputdir INPUT_DIR
                        Input directory with multiple NMON file
  -o OUTDIR, --output OUTDIR
                        Output dir for CSV (Default: ./report/)
  -c, --csv             CSV output? (Default: False)
  -b, --buildReport     report output? (Default: False)
  -r CONFFNAME, --reportConfig CONFFNAME
                        Report config file. Default is ./report.config

Project Members:


MongoDB Logo MongoDB