Skip to content

Instantly share code, notes, and snippets.

@unixsam
Created August 12, 2019 19:51
Show Gist options
  • Save unixsam/0219af5d3dcc1fb3cca2c59810d23744 to your computer and use it in GitHub Desktop.
Save unixsam/0219af5d3dcc1fb3cca2c59810d23744 to your computer and use it in GitHub Desktop.
Check CPU temperature in Ubuntu Using lm-sensors
sudo apt install lm-sensors
sudo sensors-detect
sensors
One can use the watch command command to run sensors command repeatedly, displaying its output on screen:
watch sensors
Hard disk temperature in Ubuntu Using hddtemp
using hddtemp
sudo apt install hddtemp
hddtemp
sudo hddtemp SATA:/dev/sda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment