在CentOS上安裝Sensors主機溫度監控程式

來源:互聯網
上載者:User

 

先下載lm_sensors和sensors-applet兩個程式。

其中,lm_sensors找到了rpm包檔案:lm_sensors-3.0.1-5.fc9.i386.rpm

可以看出是for fc9的rpm包,由於fc和centos都屬於redhat系列,所以應該可以安裝。

下載頁面:http://rpm.pbone.net/index.php3/ ... 1/search/lm_sensors

其中有許多軟體包,可供不同linux發行版選擇安裝。

rpm包安裝很簡單,不多闡述,下載後雙擊即可,安裝過程中可能會涉及到依賴問題,逐個安裝即可。

安裝後,運行sensors,如果出現no sensors found的話,則要運行sensors-detect,一路斷行符號預設安裝即可,隨後再運行sensors就能看出cpu電壓溫度等資訊。

接下來安裝sensors-applet,此程式是sensors的圖形介面。

由於只有deb包,所以centos只能通過tar.gz來源程式,需要編譯安裝。

檔案名稱:sensors-applet-2.2.1.tar.gz

下載頁面:http://sensors-applet.sourceforge.net/index.php?content=source

下載後安裝方法:

tar xzvf sensors-applet-2.2.1.tar.gz

cd sensors-applet-2.2.1

./inconfigure --prefix /usr

make

make install

安裝過程中也會涉及到依賴問題,逐個安裝即可。

安裝完成後滑鼠右鍵點擊菜單蘭,選擇“添加到面板”,選擇“Hardware Sensors Monitor”即可在菜單蘭上顯示cpu溫度。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.