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.它不久將被釋放。