[SOLVED] CPU temperature

jbaptistejbaptiste New Member Posts: 8
edited January 2019 in UP Board Linux


How can we retrieve the current CPU temperature of the UP Board through linux command line? Is there any information into /sys/?



  • ccaldeccalde New Member Posts: 348 admin

    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:

    Adapter: Virtual device
    temp1: +0.0°C (crit = +90.0°C)

    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)

  • rchauvinrchauvin New Member Posts: 14

    Alternatively, you can also do:
    cat /sys/devices/platform/coretemp.0/hwmon/hwmon0/*_input

  • ccaldeccalde New Member Posts: 348 admin

    Hi @rchauvin ,

    Thanks for the alternative!

Sign In or Register to comment.