红联Linux门户
Linux帮助

linux下监控cpu温度

发布时间:2008-03-24 15:49:33来源:红联作者:gobeta
首先emerge ksensors会依依赖关系一起安装lm_sensors

要确保使用2.4以上内核并打开

Character devices”的“I2C support”和“Hardware sensors support”“I2C support”里的“I2C device interface”

我是用2.6.20内核,所有的项目以 M 编译即可。内核中没有以上部分lm_sensors编译会通不过。

emerge ksensors以后,在终端中运行sensors-detect

会自动侦测所需模块。

我的电脑支持的是LM90、EEPROM、it87、i2c-viapro

再make menuconfig在内核“I2C support”和“Hardware sensors support”选项中打开相对应模块,然后make modules && make modules_install

这时打开lm_sensors /etc/init.d/lm_sensors start

在终端中使用sensors命令或者使用ksensors就可随时监控cpu温度。
文章评论

共有 0 条评论