lm_sensors Guide Or How To Monitor CPU Temperature in Linux / Fedora Core 6 ( > 2.6 Kernel) lm_sensors指南,或如何監測CPU的溫度在Linux /淺頂軟呢帽核心6 ( “ > 2.6內核)
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.它不久將被釋放。
Filed under提起下 Fedora Core 6是Fedora Core 6 , , Gnome Desktop GNOME桌面環境 , , Headline News頭條新聞 , , How To如何 , , Linux Linux的 , , Linux Migration Linux遷移 , , Open Source Software開放源碼軟件 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |





August 22nd, 2007 at 8:15 am 2007年8月22日在上午8時15分
A correction: coretemp is in 2.6.22, not in any 2.6.21 kernel.更正: coretemp是在2.6.22 ,而不是在任何2.6.21內核。
August 28th, 2007 at 3:04 pm 2007年8月28日在下午3時04分
Le francais écrit dans cette page est n’importe quoi.樂法國écrit dans這一頁的預測n'importe quoi 。 Ca ressemble à une traduction de l’anglais faite par google.Je ne vais faire qu’une citation mais elle est valable significative : “Maintenant course :” , même un gars du Québec ne parlerait pas comme ça.十分相似à une traduction德l'英文faite桿google.je氦氖vais faire qu'une引文看艾麗預測valable有意義的: “當然maintenant : ”即使聯合國遙感的地質學應用魁北克氦氖parlerait局首席助理局長comme鏰。
Pour comprendre cette page, il faut la retraduire en anglais (mais littéralement) et ensuite la retraduire depuis l’anglais trouvé en un français correct.傾訴comprendre這一頁上,金正日故障香格里拉retraduire英文(看littéralement )等ensuite香格里拉retraduire depuis l'英文trouvé恩聯合國français正確的。 C’est franchement délirant.即在franchement délirant 。
October 15th, 2007 at 9:10 am 2007年10月15日在上午09時10分
c’est pas vraiment la peine de faire de la traduction automatique…即在局首席助理局長vraiment香格里拉peine德faire德香格里拉traduction自動化…
le résultat est pitoyable樂résultat預測pitoyable