https://rickhouser.me/posts/cpu-script/
Monitoring CPU Usage with Python for System Reliability - Rick Houser