windows下的硬件检测工具和cpu监测工具一堆堆的,可Linux的就少的可怜了。lm_sensors就是一个在Linux非常有用的CPU监测工具,可以检测CPU的工作电压,风扇转速、温度等数据。这些数据我们在主板的BIOS也可以看到,但是如果是远程怎么办只能靠sensors了。我们可以在机器运行的时候通过lm_sensors随时来监测着CPU的温度变化,可以预防和保护因为CPU过热而会烧掉。CentOS下安装lm_sensors非常简单,执行yum -y install lm_sensors就可以了。安装完后执行#sensors-detect之后会出现一大堆询问,全部选择YES This program will help you determine which I2C/SMBus modules you need to load to use lm_sensors most effectively. You need to have i2c and lm_sensors installed before running this program. Also, you need to be `root", or at least have access to the /dev/i2c-* files, for most things. If you have patched your kernel and have some drivers built in, you can safely answer NO if asked to load some modules. In this case, things may seem a bit confusing, but they will still work. It is generally safe and recommended to accept the default answers to all questions, unless you know what you"re doing. We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this. Do you want to probe now? (YES/no):然后我们开启动lm_sensors
# /etc/rc.d/init.d/lm_sensors start确认启动后,就可以看cpu信息了,执行下面的命令查看CPU信息# sensors 修改SUSE的GRUB背景图为企鹅动画主题[图文]gforge安装指南相关资讯 Linux教程
- Linux教程:如何在命令行中查看目 (07/28/2014 12:22:23)
- Linux 修改root密码 (11/03/2012 07:53:38)
- su - root 与su root的区别 (06/06/2012 00:39:40)
| - Linux进程间通信:消息队列 (01/28/2013 09:43:00)
- U盘安装Linux开机无法启动解决方法 (10/07/2012 08:55:52)
- Windows 7/Linux 同步时间 (05/15/2012 06:17:55)
|
本文评论 查看全部评论 (0)