Monitor temperatures on ASRock X300 with Ubuntu |
Post Reply |
Author | |
Bruce2704
Newbie Joined: 20 Jun 2024 Location: South Africa Status: Offline Points: 50 |
Post Options
Thanks(0)
Posted: 20 Jun 2024 at 9:58pm |
I am running Ubuntu 22.04 (with Proxmox) on an ASRock X300 with a Ryzen 5600G APU. I would like to monitor the CPU (and other relevant) temperatures, preferably using a Bash script which runs periodically using a cron job. Using the sensors utility I can get some sort of indication of the temperatures; it looks like this:
k10temp : AMD Family 10h+ CPU core temperature monitor nct6775/temp1 Temperature 122.00°C nct6775/temp2 Temperature 43.00°C nct6775/temp3 Temperature 30.00°C nct6775/temp4 Temperature 112.00°C nct6775/temp5 Temperature 113.00°C nct6775/temp6 Temperature 113.00°C nct6775/temp7 Temperature 49.50°C nct6775/temp8 Temperature 0.00°C nct6775/temp9 Temperature 0.00°C nct6775/temp10 Temperature 0.00°C nct6775/temp11 Temperature 0.00°C nct6775/temp12 Temperature 0.00°C nct6775/temp13 Temperature 49.50°C nct6775/temp15 Temperature 3892314.00°C nct6775/temp16 Temperature 3892314.00°C nct6775/temp17 Temperature 3892314.00°C nct6775/temp18 Temperature 3892314.00°C nct6775/temp19 Temperature 3892314.00°C nct6775/temp20 Temperature 3892314.00°C k10temp/temp1 Temperature 50.25°C amdgpu/temp1 Temperature 34.00°C Some of those figures are obviously incorrect (3892314.00°C !) and others, if correct, are a concern (above 100 °C). Which of these can I safely ignore, and for the rest, how do I correlate the codes here with the cpu and motherboard? Is there perhaps another utility that I should be using to monitor the CPU temperature? (I know that I can get the temperature from the BIOS, but for various reasons that doesn't suit my purpose. (Firstly, it requires shutting down the server, which defeats the purpose of a server, and secondly, it doesn't give me the temperatures under operating conditions.) Thank you for your assistance! |
|
ASRock X300 with AMD Ryzen 5600G and Ubuntu 22.04
|
|
Xaltar
Moderator Group Joined: 16 May 2015 Location: Europe Status: Offline Points: 24623 |
Post Options
Thanks(0)
|
nct6775/temp2 Temperature 43.00°C
nct6775/temp3 Temperature 30.00°C nct6775/temp7 Temperature 49.50°C nct6775/temp13 Temperature 49.50°C k10temp/temp1 Temperature 50.25°C amdgpu/temp1 Temperature 34.00°C These are likely correct. Hazarding a guess here: nct6775/temp2 = coolest core nct6775/temp7 = hottest core nct6775/temp13= tdie (CPU temp) k10temp/temp1 = tctl (temp reading used to dictate fan speed control) nct6775/temp3 = PCH (chipset) amdgpu/temp1 = iGPU temp BIOS temp monitoring, at least for the CPU, is pointless. The CPU temp in BIOS is always high given there is absolutely no optimization in the BIOS and it will run on a single core @max clocks and voltage the entire time resulting in an overly high reading. This has been the case with UEFI pretty much since the beginning. It's hard to fit CPU optimizations into such a tiny ROM capacity. I would recommend using windows and ASRock's own tool or Ryzen master to get a baseline of the essential temps then go back to your linux distro/app and compare the readouts. I suspect the 100C+ readings are inaccurate/incorrectly read by the linux app. On my linux machines I typically use Gnome's "System Monitor". Even here though I tend to get misread sensors and alarming readouts on some systems, hence my recommendation of using ASRock's own tool in windows as it will read the correct values from the correct sensors. If those line up with your readouts here then you can safely ignore all the rest. The sensors on the board and CPU are used for more than just temp readings. |
|
|
|
M440
Senior Member Joined: 12 Jul 2023 Status: Offline Points: 3115 |
Post Options
Thanks(0)
|
asrock b650m/hdv.m2, ryzen 7700x@85watt
|
|
Bruce2704
Newbie Joined: 20 Jun 2024 Location: South Africa Status: Offline Points: 50 |
Post Options
Thanks(0)
|
Thank you, Xaltar, that confirms some of my suspicions and also gives me something concrete to work on. I'll try to install a Windows VM so that I can compare the Linux readings with the readings from the "official" monitor.
|
|
ASRock X300 with AMD Ryzen 5600G and Ubuntu 22.04
|
|
Bruce2704
Newbie Joined: 20 Jun 2024 Location: South Africa Status: Offline Points: 50 |
Post Options
Thanks(0)
|
Thank you, M440, that looks like a useful utility. I'll try it out.
|
|
ASRock X300 with AMD Ryzen 5600G and Ubuntu 22.04
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |