ubuntu 查看 CPU 温度

Catálogo

很多博主都推荐

1
$ sensors

但是不同的主板获取的都不太一样,比如在 A320H 上是这样的

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
nct6779-isa-0290
Adapter: ISA adapter
Vcore: 416.00 mV (min = +0.00 V, max = +1.74 V)
in1: 0.00 V (min = +0.00 V, max = +0.00 V)
AVCC: 3.33 V (min = +2.98 V, max = +3.63 V)
+3.3V: 3.33 V (min = +2.98 V, max = +3.63 V)
in4: 1.84 V (min = +0.00 V, max = +0.00 V) ALARM
in5: 920.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in6: 1.90 V (min = +0.00 V, max = +0.00 V) ALARM
3VSB: 3.44 V (min = +2.98 V, max = +3.63 V)
Vbat: 3.25 V (min = +2.70 V, max = +3.63 V)
in9: 0.00 V (min = +0.00 V, max = +0.00 V)
in10: 360.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in11: 1.06 V (min = +0.00 V, max = +0.00 V) ALARM
in12: 1.70 V (min = +0.00 V, max = +0.00 V) ALARM
in13: 936.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in14: 1.82 V (min = +0.00 V, max = +0.00 V) ALARM
fan1: 455 RPM (min = 0 RPM)
fan2: 1970 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
SYSTIN: +38.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor
CPUTIN: +37.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
AUXTIN0: -33.5°C sensor = thermistor
AUXTIN1: +75.0°C sensor = thermistor
AUXTIN2: +22.0°C sensor = thermistor
AUXTIN3: -26.0°C sensor = thermistor
SMBUSMASTER 0: +51.0°C
PCH_CHIP_CPU_MAX_TEMP: +0.0°C
PCH_CHIP_TEMP: +0.0°C
PCH_CPU_TEMP: +0.0°C
intrusion0: ALARM
intrusion1: ALARM
beep_enable: disabled

勉强能看出来 CPU 温度是 +37.5°C

在我另外一台机器是

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$ sensors
gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1: +34.0°C
temp2: +38.0°C
temp3: +78.0°C
temp4: +41.0°C
temp5: +55.0°C
temp6: +52.0°C

acpitz-acpi-0
Adapter: ACPI interface
temp1: +16.8°C
temp2: +16.8°C

k10temp-pci-00c3
Adapter: PCI adapter
Tctl: +78.4°C
Tccd1: +67.5°C
Tccd2: +68.0°C

nvme-pci-0100
Adapter: PCI adapter
Composite: +40.9°C (low = -273.1°C, high = +89.8°C)
(crit = +94.8°C)
Sensor 1: +40.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +43.9°C (low = -273.1°C, high = +65261.8°C)

那压根看不出来了

推荐使用 inxi

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$ inxi -CMs

Machine:
Type: Desktop System: Gigabyte product: X570 UD v: N/A
serial: <superuser required>
Mobo: Gigabyte model: X570 UD v: x.x serial: <superuser required>
UEFI: American Megatrends v: F32 date: 01/18/2021
CPU:
Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP cache:
L2: 8 MiB
Speed (MHz): avg: 3489 min/max: 2200/5083 cores: 1: 3693 2: 3697 3: 3691
4: 3692 5: 2200 6: 3684 7: 2200 8: 4616 9: 2200 10: 3691 11: 3692 12: 3400
13: 3692 14: 2200 15: 3691 16: 3693 17: 3690 18: 3696 19: 2200 20: 3693
21: 3692 22: 3693 23: 3690 24: 4615 25: 4616 26: 3688 27: 3691 28: 2200
29: 3689 30: 3691 31: 3690 32: 3690
Sensors:
System Temperatures: cpu: 38.0 C mobo: 34.0 C gpu: nvidia temp: 58 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 49%