https://medium.com/@dealiraza/designing-and-implementing-a-real-time-system-monitoring-tool-with-python-05eaba94b643