Results 1 to 1 of 1

Thread: CPU Temperature

  1. #1
    Junior Member
    Join Date
    Dec 2016
    Posts
    17

    CPU Temperature

    Hi,

    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:
    Code:
    No sensors found!
    Make sure you loaded all the kernel drivers you need.
    Try sensors-detect to find out which these are.
    Any ideas?

    EDIT
    I think i got it!
    Code:
    cat /sys/class/thermal/thermal_zone0/temp
    and then:
    Code:
    cpu=$(</sys/class/thermal/thermal_zone0/temp)
    echo "$((cpu/1000)) c"
    Last edited by martinii; 2017-01-27 at 02:55 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •