Results 1 to 1 of 1

Thread: CPU Temperature

  1. #1
    Join Date
    2016-Dec
    Posts
    21

    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 14:55.

Similar Threads

  1. Replies: 0
    Last Post: 2020-05-15, 03:40
  2. Installing CPU Temperature widget
    By focus in forum General Archive
    Replies: 0
    Last Post: 2016-04-20, 02:57

Posting Permissions

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