Ubuntu配置CPU温度、风扇转速、硬盘温度监控[附下(2)

确认添加的模块:

代码:

sudo gedit /etc/modules

打开/etc/modules查看:

代码:

linuxidc@Ubuntu-desktop:~$ sudo gedit /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
fuse
lp
# Generated by sensors-detect on Sat May 19 22:57:41 2007
# I2C adapter drivers
i2c-viapro
# Chip drivers
lm90
eeprom
it87

第三步:安装其它监控软件xsensors,ksensors,gdesklets(gdesklets里有很多桌面小程序),Gkrellm,hddtemp等,自己选择安装.

代码:

sudo apt-get install xsensors或者ksensors(KDE中推荐使用ksensors)

代码:

sudo apt-get install gdesklets gkrellm

安装硬盘温度监控:代码:

sudo apt-get install hddtemp

安装完后重启系统就能正确监控了.

终端中输入sensors命令或者用xsensors或者ksensors就可随时监控CPU温度,风扇转速等硬件状态.

代码:

linuxidc@Ubuntu-desktop:~$ sensors
lm90-i2c-0-4c
Adapter: SMBus Via Pro adapter at 0400
M/B Temp:    +37°C  (low  =    +0°C, high =   +70°C)
CPU Temp:  +45.0°C  (low  =  +0.0°C, high = +70.0°C)
M/B Crit:    +85°C  (hyst =   +75°C)
CPU Crit:    +75°C  (hyst =   +65°C)
it87-isa-0290
Adapter: ISA adapter
VCore 1:   +1.50 V  (min =  +0.00 V, max =  +4.08 V)
VCore 2:   +2.53 V  (min =  +0.00 V, max =  +4.08 V)
+3.3V:     +3.33 V  (min =  +0.00 V, max =  +4.08 V)
+5V:       +4.92 V  (min =  +0.00 V, max =  +6.85 V)
+12V:     +11.97 V  (min =  +0.00 V, max = +16.32 V)
-12V:     -19.75 V  (min = -27.36 V, max =  +3.93 V)
-5V:       -0.62 V  (min = -13.64 V, max =  +4.03 V)
Stdby:     +3.87 V  (min =  +0.00 V, max =  +6.85 V)
VBat:      +2.03 V
fan1:     3013 RPM  (min = 2008 RPM, div = 8)
fan2:        0 RPM  (min =    0 RPM, div = 8)
M/B Temp:    +42°C  (low  =  +127°C, high =   +65°C)   sensor = thermistor
CPU Temp:    -55°C  (low  =    -1°C, high =  +127°C)   sensor = thermistor
Temp3:       -20°C  (low  =    -1°C, high =  +127°C)   sensor = thermistor

显示结果中有些数值是不正确的,但是硬件实际的工作状态可能是正常的,只是显示问题.无效的项或者错误的项可以进行修改.代码:

sudo gedit /etc/sensors.conf

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/d6898a12a25af023d889eb34c7336f53.html