Skip to content

scottx611x/ps_grapher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Graph process memory usage over time w/ Plotly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages