Skip to content

Instantly share code, notes, and snippets.

View jerilkuriakose's full-sized avatar

Jeril Kuriakose jerilkuriakose

  • Cochin, Kerala, India
View GitHub Profile
@jerilkuriakose
jerilkuriakose / process3dGraph.py
Last active October 19, 2017 09:26 — forked from meganehouser/process3dGraph.py
This is a script which draws the amount of CPU used and memory usage of a process to a 3D graph.
#coding:utf-8
import psutil
from mpl_toolkits.mplot3d import Axes3D
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
TIME_NUM = 90
FRAMES = 360