To monitor CPU temperature in Linux you will need to install lm_sensors package and then install gnome-applet-sensors (assuming you are using gnome) to get a nice graphical display.监测CPU温度在Linux您需要安装lm_sensors包,然后安装的GNOME - Applet的传感器(假设您正在使用的GNOME )获得不错的图形显示。 The devil is in the details.魔鬼在细节中。 The shipped lm_sensors doesn’t work on Fedora Core 6 with 2.6 kernels.该发运lm_sensors不工作的Fedora Core 6与2.6内核。 It also doesn’t support core 2 duo.它也并不支持Core 2 Duo的。

Install 安装
To use lm_sensors you will have to install it from the development repository.使用lm_sensors您将必须安装它从发展的存放处。
Login as root and run the following:以root身份登录并运行以下:
rpm -iv http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/os/Fedora/lm_sensors-2.10.3-2.fc7.i386.rpm RPM的第四http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/os/fedora/lm_sensors-2.10.3-2.fc7.i386.rpm

This will install lm_sensors on your machine.这将安装lm_sensors在您的计算机上。 You have completed the first step.您已经完成了第一步。

Note: The provided version number of lm_sensors is likely to change soon.注:提供的版本号码lm_sensors可能会改变很快。 So you are better off just browsing to http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/os/Fedora/ and selecting the latest lm_sensors package for installation.所以您是较佳的只是浏览, http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/os/fedora/和选拔的最新lm_sensors软件包进行安装。

Detection 检测
You now need to detect available sensors on your system.你现在需要检测传感器可在您的系统上。 Run sensors-detect from command line (after logging as root).运行传感器检测从命令行(登录后,以root的身份) 。
Accept all the default values.接受所有默认值。

At the end it will print out something like:在去年底将打印出来的东西,例如:

To make the sensors modules behave correctly, add these lines to使传感器模块的行为正确,这些代码行添加到
/etc/modprobe.conf:在/ etc / modprobe.conf :

#—-cut here—- # -削减在这里-
# I2C module options # I2C总线模块选项
alias char-major-89 i2c-dev别名焦-大- 89 I2C总线- dev的
#—-cut here—- # -削减在这里-

Add the line, as instructed, to the end of /etc/modprobe.conf file.新增路线,指示,到去年底, 在/ etc / modprobe.conf文件。

Ignore the other instructions.忽略了其他的指示。 Now run:现在运行:
service lm_sensors start 服务lm_sensors开始

This will start the lm_sensors service.这将启动lm_sensors服务。 Now run:现在运行:
sensors -s传感器-
There should be no output.不应该有输出。 Next run:下次运行:
sensors传感器

This will list available sensors and provide current sensor data.这将列出可用的传感器和提供电流传感器的数据。

The last two steps are for checking that the sensor detection is working correctly.最后两个步骤是检查该传感器检测是否工作正常。

Now install gnome-applet-sensors:现在安装的GNOME - Applet的传感器:
yum install gnome-applet-sensors 百胜安装的GNOME - Applet的传感器

To activate it right click on a Gnome panel and choose Add to Panel .要激活它的权利,点击一个GNOME面板,并选择添加到面板 Then select Hardware Sensors Monitor .然后选择硬件传感器监测

lm_sensors requires coretemp kernel module which is only available in 2.6.21.x kernels and above. lm_sensors需要coretemp内核模块是仅适用于2.6.21.x内核及以上。 So you will have to install the development versions of kernel to use lm_sensors in core 2 duo systems.所以,您将必须安装的发展版本的内核使用lm_sensors在Core 2 Duo处理器的系统。 Personally I am waiting for the 2.6.21 release version.我个人等待为2.6.21发布版本。 It will soon be released.它不久将被释放。