Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 以下哪项是我的CPU温度_Linux_Command Line_Temperature - Fatal编程技术网

Linux 以下哪项是我的CPU温度

Linux 以下哪项是我的CPU温度,linux,command-line,temperature,Linux,Command Line,Temperature,目标 测量我的Linux机箱的CPU温度 迄今为止完成的工作 我安装了lm传感器来检测温度,以下是命令传感器的输出: 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)

目标

测量我的Linux机箱的CPU温度

迄今为止完成的工作

我安装了lm传感器来检测温度,以下是命令传感器的输出:

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传感器显示,但请注意,它被认为是不准确的


您的问题得到回答了吗?是的,接受答案是一种很好的做法