News for hackers. Stuff that matters.
Re:Python lib to monitor CPU and Memory usage of any process by zettacircl on Thursday July 25, 2019 @02:51AM (#20523218)
Quite nice to see, easy to use, can monitor any process in a programmatic way.

Usage : from psrecord.main import monitor monitor(XXXX, logfile = "./test.log", plot=True, include_children=True)