作為愛機的主人, 咱們得噓寒問暖是不是? 下面介紹 Linux 下檢視 CPU 溫度的方法.
CentOS 系列:
1.yum install lm_sensors;
2.sensors-detect
3.sensors
Ubuntu 系列:
1.apt-get install lm-sensors
2.sensors-detect
3.service kmod start
4.sensors
注意: 這些命令執行的過程中, 需要你 YES/NO/SELECT, 直接一路 YES, 就 OK 啦!
最後的資訊大致如下:
acpitz-virtual-0
Adapter: Virtual device
temp1:        +55.0°C  (crit = +103.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +55.0°C  (high = +87.0°C, crit = +105.0°C)
Core 0:         +50.0°C  (high = +87.0°C, crit = +105.0°C)
Core 1:         +51.0°C  (high = +87.0°C, crit = +105.0°C)
最後, 由於驅動升級等原因, 以上的命令可能會發生一些改變, 所以只能作為參考