Smankusors' Colab Monitor

To get started, enter this code below on your notebook 😀
from urllib.request import urlopen
exec(urlopen("http://colab-monitor.smankusors.com/track.py").read())
_colabMonitor = ColabMonitor().start()
After that you will see the URL printed to open the monitor 😉

Optionally, if you want to track the TPU too, change the last line into this
_colabMonitor = ColabMonitor(tpu=tpu).start()
Where tpu is instance of TPUClusterResolver. (Note: this is not supported on Kaggle notebooks, and EXPERIMENTAL!)