Lm_sensors是一个命令行工具,用于显示所有芯片传感器数据的当前读数,包括CPU温度。默认情况下,Ubuntu LInux没有安装Lm_Sensors,因此,我们必须自己安装它们。
bob@bob-PC:~$ sudo apt install lm-sensors
检测硬件
接下来,我们需要检测安装在电脑上的硬件监控芯片。现在我们可以开始检测电脑的硬件传感器了:
bob@bob-PC:~$ sudo sensors-detect # sensors-detect revision 6284 (2015-05-31 14:00:33 +0200) # System: VMware, Inc. VMware Virtual Platform [None] # Board: Intel Corporation 440BX Desktop Reference Platform # Kernel: 4.15.0-30Ubuntu-generic x86_64 # Processor: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6/158/10) This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing. Some south bridges, CPUs or memory controllers contain embedded sensors. Do you want to scan for them? This is totally safe. (YES/no): yes Silicon Integra