linux硬件监控-lm_sensors !
大恐龙 发表于 2010年4月 6日 11:14
今天一台兼容服务器发生死机问题,可能就是一年前的内存过热问题,苦于远程,又没有监控软件,于是找了一个lm_sensors 还不错:
安装lm_sensors
现在基本上每个Linux都已经有lm_sensors包了,我们主要安装了就可以了。或者我们也可以通过源文件来自己编译。
我是使用的源文件,官方网站下载的。
[root@localhost lm_sensors-3.1.2]# make user
Makefile:175: lib/data.ld: No such file or directory
Makefile:175: lib/general.ld: No such file or directory
Makefile:175: lib/error.ld: No such file or directory
Makefile:175: lib/access.ld: No such file or directory
......
[root@localhost lm_sensors-3.1.2]# make user_install testing
mkdir -p /usr/local/lib /usr/local/include/sensors /usr/local/man/man3 /usr/local/man/man5
******************************************************************************
Warning: This is the first installation of the libsensors.so.4*
library files in /usr/local/lib!
You must update the library cache or the userspace tools may fail
or have unpredictable results!
......
[root@localhost lm_sensors-3.1.2]# sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: System manufacturer System Product Name
# Board: ASUSTek Computer Inc. DSBV-DX/SAS
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): Yes
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... No
Intel Core family thermal sensor... Success!
看的出来,支持探测器类型还是很全的。
[root@localhost lm_sensors-3.1.2]# lm_sensors start
w83627hf-isa-0290
Adapter: ISA adapter
VCore 2: +3.36 V (min = +0.00 V, max = +0.00 V) ALARM

原创作品,转载请
Tags:













![[Valid RSS]](http://www.w3cool.com//images/valid-rss.png)
![Validate my Atom 1.0 feed [Valid Atom 1.0]](http://www.w3cool.com//images/valid-atom.png)





