sudo apt-get install lm-sensors hddtemp -y
Detect Sensors Available
- Sensors embedded in CPUs and other super I/O chips
- Hardware monitoring chips accessed through I/O ports and SMBus/I2C bus on your system
Read Sensor Values
sudo watch sensors
Initially referenced from https://www.cyberciti.biz/faq/how-to-check-cpu-temperature-on-ubuntu-linux/.