Linux硬件监控

发表于:2010-4-07 10:32

字体: | 上一篇 | 下一篇 | 我要投稿

 作者:未知    来源:51Testing软件测试网采编

  今天一台兼容服务器发生死机问题,可能就是一年前的内存过热问题,苦于远程,又没有监控软件,于是找了一个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

  Starting lm_sensors: [ OK ]

  [root@localhost lm_sensors-3.1.2]# sensors

  w83627hf-isa-0290

  Adapter: ISA adapter

  VCore 1: +3.33 V (min = +0.00 V, max = +0.00 V) ALarm

  VCore 2: +3.36 V (min = +0.00 V, max = +0.00 V) ALarm

  ......

  名字不好认,可能要wf 比较好。

《2023软件测试行业现状调查报告》独家发布~

关注51Testing

联系我们

快捷面板 站点地图 联系我们 广告服务 关于我们 站长统计 发展历程

法律顾问:上海兰迪律师事务所 项棋律师
版权所有 上海博为峰软件技术股份有限公司 Copyright©51testing.com 2003-2024
投诉及意见反馈:webmaster@51testing.com; 业务联系:service@51testing.com 021-64471599-8017

沪ICP备05003035号

沪公网安备 31010102002173号