Processor Temperature

You can find the temperature of the processor in milli-Celsius (mC) using the following command:

cat /sys/class/thermal/thermal_zone0/temp

In the same folder there is a file called trip_point_0_temp that contains the temperature, again in mC, at which the processor will shut down. This is a read-only file and cannot be changed even with root permissions.