Does anybody know how to measure CPU temperature in ARM-based Kali Linux on Rasperry Pi3? I tried lm-sensors but, after installation i get:
Any ideas?Code:No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
I think i got it!
and then:Code:cat /sys/class/thermal/thermal_zone0/temp
Code:cpu=$(</sys/class/thermal/thermal_zone0/temp) echo "$((cpu/1000)) c"
Last edited by martinii; 2017-01-27 at 02:55 PM.