centos安装lm-sensors和applet监控主机温度
Posted on 五月 4th, 2008 in linux笔记 | 12 Comments »
先下载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/stat/3/srodzaj/1/search/lm_sensors
其中有许多软件包,可供不同linux发行版选择安装。
rpm包安装很简单,不多阐述,下载后双击即可,安装过程中可能会涉及到依赖问题,逐个安装即可。
安装后,运行sensors,如果出现no sensors found的话,则要运行sensors-detect,如果提示无此命令,则执行/usr/sbin/sensors-detect
一路回车默认安装即可,最后会问你是否覆盖配置文件,选择y或者回车。
我的配置文件是/etc/sysconfig/lm_sensors,但许多人的配置文件会是/etc/modules
随后再运行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温度。
Leave a Reply
You must be logged in to post a comment.
12 Responses
[...] 所以需要配合sensors-applet来实现直接在菜单条上实时显示和监控。 先前已经安装了sensors-applet所以不再阐述,安装方法:http://www.99ks.com/?p=78 [...]
EkeonoraHakcema Watch NFL Football Online arrobAmrhein NekconBoyczer riccyRoberbc kauranPerea
@chels I know what you mean, its hard to find good help these days. People now days just don’t have the work ethic they used to have. I mean consider whoever wrote this post, they must have been working hard to write that good and it took a good bit of their time I am sure. I work with people who couldn’t write like this if they tried, and getting them to try is hard enough as it is.
Glad to see that this site works well on my Blackberry Bold, everything I want to do is functional. Thanks for keeping it up to date with the latest.
Thats some great basics there, already knew some of that, but you can always learn . I doubt a “kid” could put together such information as dolphin278 suggested. Maybe he’s just trying to be “controversial? lol
chawnGenno Watch Football Online huNewbern VeroniaGerrakb ParicBoccerz oryzrebenni
I couldn’t resist commenting. :)
@chels I know what you mean, its hard to find good help these days. People now days just don’t have the work ethic they used to have. I mean consider whoever wrote this post, they must have been working hard to write that good and it took a good bit of their time I am sure. I work with people who couldn’t write like this if they tried, and getting them to try is hard enough as it is.
Good points…I would note that as someone who really doesn’t write on blogs much (in fact, this may be my first post), I don’t think the term “lurker” is very becoming to a non-posting reader. It’s not your fault really , but perhaps the blogosphere could come up with a better, non-creepy name for the 90% of us that enjoy reading the posts.
@Markus I get your drift on where you were going there. I often think of my past and use it as a means to analyze where I am and where I want to get to. Where I struggel is balancing it all out. How do you guys balance things out?
Good points…I would note that as someone who really doesn’t write on blogs much (in fact, this may be my first post), I don’t think the term “lurker” is very flattering to a non-posting reader. It’s not your fault really , but perhaps the blogosphere could come up with a better, non-creepy name for the 90% of us that enjoy reading the content .
Did everyone elses internet browser resize any time they visited this page? So aggravating!