Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.3 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.3 KB

ps_grapher

Build Status codecov

Graph ps output over time w/ Plotly

Pre-Reqs:

  • python
  • pip

Installation:

  • git clone https://github.com/scottx611x/ps_grapher.git
  • cd ps_grapher && pip install -r requirements.txt

Running Tests:

  • python tests.py

Running PsGrapher:

  • pyhton ps_grapher.py
  • Running this will, by default, create an html file in the current working directory called: PsGrapher.html, and update the embedded plotly graph every minute with info from the top 10 memory hogging processes.

Why?:

  • I was motivated to make this after having trouble debugging a finnicky memory leak that wasn't easy to catch through normal logging practices.

Sample Output:

screen shot 2017-12-12 at 5 00 20 pm