linux - 以下哪个是我的 CPU 温度

标签 linux command-line temperature

目标

测量我的 Linux Box 的 CPU 温度。

到目前为止工作已完成

我已经安装了 lm-sensors 来检测温度,下面是命令传感器的输出:

root@XXXX-XX :# sensors

acpitz-virtual-0
Adapter: Virtual device
temp1:        +66.0°C  (crit = +255.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +65.4°C  (high = +70.0°C)
                       (crit = +100.0°C, hyst = +99.0°C)

radeon-pci-0008
Adapter: PCI adapter
temp1:        +64.0°C  (crit = +120.0°C, hyst = +90.0°C)

radeon-pci-0100
Adapter: PCI adapter
temp1:            N/A  (crit = +120.0°C, hyst = +90.0°C)

cat/proc/cpuinfo 的输出是:

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 21
model       : 16
model name  : AMD A8-4500M APU with Radeon(tm) HD Graphics
stepping    : 1
microcode   : 0x6001116
cpu MHz     : 1400.000
cache size  : 2048 KB
physical id : 0
siblings    : 4
core id     : 0
cpu cores   : 2
apicid      : 16
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
.
.
.

processor   : 1
vendor_id   : AuthenticAMD
cpu family  : 21
model       : 16
model name  : AMD A8-4500M APU with Radeon(tm) HD Graphics   
stepping    : 1
microcode   : 0x6001116
cpu MHz     : 1400.000
cache size  : 2048 KB
physical id : 0
siblings    : 4
core id     : 1
cpu cores   : 2
apicid      : 17
initial apicid  : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes


processor   : 2
vendor_id   : AuthenticAMD
cpu family  : 21
model       : 16
model name  : AMD A8-4500M APU with Radeon(tm) HD Graphics   
stepping    : 1
microcode   : 0x6001116
cpu MHz     : 1400.000
cache size  : 2048 KB
physical id : 0
siblings    : 4
core id     : 2
cpu cores   : 2
apicid      : 18
initial apicid  : 2
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes


processor   : 3
vendor_id   : AuthenticAMD
cpu family  : 21
model       : 16
model name  : AMD A8-4500M APU with Radeon(tm) HD Graphics   
stepping    : 1
microcode   : 0x6001116
cpu MHz     : 1400.000
cache size  : 2048 KB
physical id : 0
siblings    : 4
core id     : 3
cpu cores   : 2
apicid      : 19
initial apicid  : 3
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes

问题

从命令传感器和 cat/proc/cpuinfo 的上述读数中,我不确定传感器输出中的哪个正是我的 cpu 温度,以及两个命令的输出之间的一对一关系是什么(即:哪个字段(即:传感器的输出)与 cat/proc/cpuinfo 的字段匹配)。

最佳答案

您的 CPU 温度由 k10 传感器显示,但请注意,它被假定为不准确。

https://www.kernel.org/doc/Documentation/hwmon/k10temp

关于linux - 以下哪个是我的 CPU 温度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31421874/

相关文章:

linux - 如何将cygdrive更改为windows目录结构

c - linux中的ls命令使用哪个linux系统调用来显示文件夹/文件名?

powershell - 如何从通过 CMD 调用的 PowerShell Start-Process 启动的进程中获取 ErrorLevel?

C 程序询问用户是否想要从 C 转换为 F,然后进行转换

javascript - 使用 JavaScript 的温度转换器

java - 并行处理: class file has wrong version 49. 0,应该是48.0

android - Android .apk 文件可以安装在普通的 Linux PC 上吗?

git - `git flow release finish` 非交互

linux - 我可以在命令行中编写一个脚本来遍历目录中的所有文件吗?

MySQL 指定天数的平均温度