Linux监控CPU温度Linux认证考试

文章作者 100test 发表时间 2009:11:20 16:35:48
来源 100Test.Com百考试题网


  安装测试系统:

  硬件:普通PC机,

  软件:redhat linux as 4 2.6 .9 , 安装系统自带的lm_sensors-2.8.7-2.i386

  你也可以从[url]http://www.edgedesign.us/about/lm_sensors[/url]下载

  这个软件可以在linux下收集到系统温度。然后我用cacti显示。

  由于是系统自带的。所以我在安装系统的时候就已经安装好的。所以如果你找不到的话。可以在系统盘上找,然后rpm安装。这个我就不说了。

  下来看配置:

  运行: /sbin/depmod –a

  vi /etc/ld.so.conf

  加入这一行: /usr/local/lib

  运行: ldconfig

  运行:sensors-detect 扫瞄你的主机使用那些芯片组

  1: We can start with probing for (PCI) I2C or SMBus adapters.

  You do not need any special privileges for this.

  Do you want to probe now? (YES/no): YES

  2:Next adapter: SMBus I801 adapter at 0500 (Algorithm unavailable)

  Do you want to scan it? (YES/no/0selectively): YES

  3:Do you want to scan the ISA bus? (YES/no): YES

  4:Do you want to scan for Super I/O sensors? (YES/no): YES

  5:Do you want to scan for secondary Super I/O sensors? (YES/no): YES

  6:Now follows a summary of the probes I have just done.

  Just press ENTER to continue: 回车

  7:I will now generate the commands needed to load the I2C modules.

  Sometimes, a chip is available both through the ISA bus and an I2C bus.

  ISA bus access is faster, but you need to load an additional driver module

  for it. If you have the choice, do you want to use the ISA bus or the

  I2C/SMBus (ISA/smbus)? ISA

  显示:

  To make the sensors modules behave correctly, add these lines to

  /etc/modules.conf:

  #----cut here----

  # I2C module options

  alias char-major-89 i2c-dev

  #----cut here----

  To load everything that is needed, add this to some /etc/rc* file:

  #----cut here----

  # I2C adapter drivers


相关文章


Linux认证辅导:Linux中的timeLinux认证考试
linux下的sar工具命令小结Linux认证考试
Linux双网卡绑定一个IP原理及实现Linux认证考试
在linux内核中操作文件的方法Linux认证考试
Linux监控CPU温度Linux认证考试
linuxApache支持asp配置Linux认证考试
linuxtc实现ip流量限制Linux认证考试
linux认证辅导:linux时间服务器安装配置Linux认证考试
linux系统的安全设定Linux认证考试
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛