介绍
商业用电太贵了,公司机房24小时开机,若干台PC服务器,交换机,路由器,光猫等等,专门开一个空调不太划算。所以现在用电扇代替了,出了物理温度计来测量温度外,PC机器还可用测量CPU的温度,大概过程如下:
sudo apt-get install lm-sensors
sudo sensors-detect
sudo service kmod start
sensors
输出如下:
dapter: Virtual device
temp1: +27.8°C (crit = +105.0°C)
temp2: +29.8°C (crit = +105.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +45.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +42.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +41.0°C (high = +80.0°C, crit = +100.0°C)
Core 2: +42.0°C (high = +80.0°C, crit = +100.0°C)
Core 3: +40.0°C (high = +80.0°C, crit = +100.0°C)
参考链接 :
ubuntu测量机器的温度 : http://ciika.com/2019/12/ubuntu-test-cpu-temperature/