psrecord


Run command to capture memory and CPU usage of a process, and graph it:

$ psrecord [cmd-to-run] --interval 1 --include-children --plot plot1.png
Posted on Wed Apr 04 05:13:31 EDT 2018 by Subhash Chandran
python system linux