[SOLVED] CPU temperature
Hello,
How can we retrieve the current CPU temperature of the UP Board through linux command line? Is there any information into /sys/?
Regards,
Comments
-
Hi @jbaptiste ,
One easy way is to install lm-sensors and check your current temperature for the cores:
sudo apt-get install lm-sensors
Then, run 'sensors' command and see something like that:
acpitz-virtual-0
Adapter: Virtual device
temp1: +0.0°C (crit = +90.0°C)coretemp-isa-0000
Adapter: ISA adapter
Core 0: +50.0°C (high = +90.0°C, crit = +90.0°C)
Core 1: +51.0°C (high = +90.0°C, crit = +90.0°C)
Core 2: +49.0°C (high = +90.0°C, crit = +90.0°C)
Core 3: +47.0°C (high = +90.0°C, crit = +90.0°C) -
Hi,
Alternatively, you can also do:
cat /sys/devices/platform/coretemp.0/hwmon/hwmon0/*_input -
Hi @rchauvin ,
Thanks for the alternative!