linux硬件监控
时间:2024-07-09 05:12:25 点击:154

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

展开 ↓

最新游戏更多

最新软件更多

  • 玩家推荐
  • 游戏攻略

诚捷手游网 Copyright(C) 2008- tynpfw.cn All Rights Reserved!

闽ICP备2023006241号-3| 免责声明