This is just a quick note for me to display CPU temperature on one of my fanless device which runs Debian.

  1. Install the required package lm-sensors
  2. Run the sensors command.

Here is a sample output:

root@pve:~# sensors
Adapter: ISA adapter
Package id 0:  +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 0:        +37.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:        +37.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:        +37.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:        +37.0°C  (high = +105.0°C, crit = +105.0°C)

Adapter: ACPI interface
temp1:        +27.8°C  (crit = +119.0°C)