ASRock.com Homepage
Forum Home Forum Home > Technical Support > AMD Motherboards
  New Posts New Posts RSS Feed - How to measure a CPU temperature on Linux OS
  FAQ FAQ  Forum Search Search  Events   Register Register  Login Login

How to measure a CPU temperature on Linux OS

 Post Reply Post Reply
Author
Message
Yuh.K View Drop Down
Newbie
Newbie


Joined: 15 hours 15 minutes ago
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Yuh.K Quote  Post ReplyReply Direct Link To This Post Topic: How to measure a CPU temperature on Linux OS
    Posted: 14 hours 60 minutes ago at 1:49pm
Hello. Currently, I'm using "B650 Steel Legend WiFi" with Ubuntu OS.
I'd like to measure a CPU temperature (per Core). So, installed "lm_sensors", and trying to execute "sensors" command.
But it's failed to measure a CPU temperature.
I guess that sensor modules for B650 are not installed, as a result, we cannot measure CPU temp.

Does someone know what sensor module we should install to measure it on B650 with Linux OS ?
Or Is there any way to measure a CPU temperature on B650 with Linux OS ?
Back to Top
M440 View Drop Down
Senior Member
Senior Member


Joined: 12 Jul 2023
Status: Online
Points: 3770
Post Options Post Options   Thanks (1) Thanks(1)   Quote M440 Quote  Post ReplyReply Direct Link To This Post Posted: 3 hours 6 minutes ago at 1:43am
for my board the nct6775 module need to be loaded


lsmod | grep nct
modprobe nct6775


to load at boot up make a file in /etc/modules-load.d/ with content 'nct6775'


mm@desktop ~
> cat /etc/modules-load.d/20_nct6775.conf
------------------------------------------------------------------------
File: /etc/modules-load.d/20_nct6775.conf
-------------------------------------------------------------------------
nct6775
--------------------------------------------------------------------------
mm@desktop ~
> sensors
spd5118-i2c-6-50
Adapter: SMBus PIIX4 adapter port 0 at 0b00
temp1:        +35.5°C (low = +0.0°C, high = +55.0°C)
                      (crit low = +0.0°C, crit = +85.0°C)

nct6799-isa-0290
Adapter: ISA adapter
in0:                     1.03 V (min = +0.00 V, max = +1.74 V)
in1:                     1.85 V (min = +0.00 V, max = +0.00 V) ALARM
in2:                     3.42 V (min = +0.00 V, max = +0.00 V) ALARM
in3:                     3.33 V (min = +0.00 V, max = +0.00 V) ALARM
in4:                     1.66 V (min = +0.00 V, max = +0.00 V) ALARM
in5:                     1.06 V (min = +0.00 V, max = +0.00 V)
in6:                     1.18 V (min = +0.00 V, max = +0.00 V) ALARM
in7:                     3.42 V (min = +0.00 V, max = +0.00 V) ALARM
in8:                     3.30 V (min = +0.00 V, max = +0.00 V) ALARM
in9:                     1.79 V (min = +0.00 V, max = +0.00 V) ALARM
in10:                    1.22 V (min = +0.00 V, max = +0.00 V) ALARM
in11:                    1.12 V (min = +0.00 V, max = +0.00 V) ALARM
in12:                    1.02 V (min = +0.00 V, max = +0.00 V) ALARM
in13:                  896.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in14:                    1.21 V (min = +0.00 V, max = +0.00 V) ALARM
in15:                  752.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in16:                    1.81 V (min = +0.00 V, max = +0.00 V) ALARM
in17:                  248.00 mV (min = +0.00 V, max = +0.00 V)
fan1:                     0 RPM (min =    0 RPM)
fan2:                   761 RPM (min =    0 RPM)
fan3:                     0 RPM (min =    0 RPM)
fan4:                   531 RPM (min =    0 RPM)
fan5:                   428 RPM (min =    0 RPM)
fan7:                   492 RPM (min =    0 RPM)
SYSTIN:                 +39.0°C (high = +80.0°C, hyst = +75.0°C)
                                 (crit = +127.0°C) sensor = thermistor
CPUTIN:                 +36.0°C (high = +80.0°C, hyst = +75.0°C)
                                 (crit = +80.0°C) sensor = thermistor
AUXTIN0:               +16.0°C (high = +127.0°C, hyst = +110.0°C)
                                 (crit = +0.0°C) sensor = thermistor
AUXTIN1:               +15.0°C (high = +80.0°C, hyst = +75.0°C)
                                 (crit = +80.0°C) sensor = thermistor
AUXTIN2:               +19.0°C (high = +80.0°C, hyst = +75.0°C)
                                 (crit = +80.0°C) sensor = thermistor
AUXTIN3:               +15.0°C (high = +80.0°C, hyst = +75.0°C)
                                 (crit = +100.0°C) sensor = thermistor
SMBUSMASTER 0:          +46.5°C (high = +80.0°C, hyst = +75.0°C)
AUXTIN4:               +23.0°C (high = +80.0°C, hyst = +75.0°C)
                                 (crit = +80.0°C)
AUXTIN5:               +99.0°C
PCH_CHIP_CPU_MAX_TEMP:   +0.0°C
PCH_CHIP_TEMP:           +0.0°C
PCH_CPU_TEMP:            +0.0°C
TSI0_TEMP:              +46.6°C
intrusion0:            ALARM
intrusion1:            ALARM
beep_enable:           disabled

nvme-pci-0f00
Adapter: PCI adapter
Composite:    +38.9°C (low = -20.1°C, high = +83.8°C)
                      (crit = +88.8°C)
Sensor 2:     +76.8°C

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:        +46.6°C
Tccd1:        +37.0°C

nvme-pci-0200
Adapter: PCI adapter
Composite:    +39.9°C (low = -0.1°C, high = +82.8°C)
                      (crit = +89.8°C)

mm@desktop ~
> fan2go detect
> spd5118
Sensors Index Label                      Value
           1      hwmon4/temp1 (temp1_input) 35500

> nct6799-isa-0290
Fans     Index Channel Label        RPM PWM Auto
           1      1        hwmon2/fan1 0    77   false
           2      2        hwmon2/fan2 758 81   false
           3      3        hwmon2/fan3 0    0    true
           4      4        hwmon2/fan4 532 67   true
           5      5        hwmon2/fan5 428 67   true
           6      7        hwmon2/fan7 492 67   true
Sensors Index Label                                 Value
           1      SYSTIN (temp1_input)                  39000
           2      CPUTIN (temp2_input)                  36000
           3      AUXTIN0 (temp3_input)                 16000
           4      AUXTIN1 (temp4_input)                 15000
           5      AUXTIN2 (temp5_input)                 19000
           6      AUXTIN3 (temp6_input)                 15000
           7      SMBUSMASTER 0 (temp7_input)           46500
           8      AUXTIN4 (temp8_input)                 23000
           9      AUXTIN5 (temp9_input)                 99000
           10     PCH_CHIP_CPU_MAX_TEMP (temp10_input) 0
           11     PCH_CHIP_TEMP (temp11_input)          0
           12     PCH_CPU_TEMP (temp12_input)           0
           13     TSI0_TEMP (temp13_input)              46625

> nvme-pci-0f00
Sensors Index Label                    Value
           1      Composite (temp1_input) 38850
           2      Sensor 2 (temp3_input)   76850

> k10temp-pci-00c3
Sensors Index Label               Value
           1      Tctl (temp1_input)   46625
           2      Tccd1 (temp3_input) 37500

> nvme-pci-0200
Sensors Index Label                    Value
           1      Composite (temp1_input) 39850

mm@desktop ~
>
asrock b650m/hdv.m2, ryzen 7700x@85watt
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.064 seconds.