Watch CPU Temperature

Print the CPU temperature:

$ cat /sys/class/thermal/thermal_zone0/temp

To watch it, you can use watch command:

$ watch -n 2 cat /sys/class/thermal/thermal_zone0/temp

In the above example the cat command will be executed every two seconds (-n 2).

The temperature is expressed as n×1000.

This is archived version of blog, preventing broken links. This version will stay online indefinitely.