博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Linux硬件监控方法
阅读量:2436 次
发布时间:2019-05-10

本文共 2158 字,大约阅读时间需要 7 分钟。

今天一台兼容服务器发生死机问题,可能就是一年前的内存过热问题,苦于远程,又没有监控软件,于是找了一个lm_sensors 还不错……

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

转载地址:http://vlqmb.baihongyu.com/

你可能感兴趣的文章
Linux 单用户模式patch解析
查看>>
决策树
查看>>
CGI
查看>>
时间换算
查看>>
csv文件
查看>>
xml空格WhiteSpace处理
查看>>
XML CDATA
查看>>
转义字符
查看>>
TIOBE开发语言排行榜
查看>>
分区和卷
查看>>
换行符
查看>>
O2O
查看>>
获取指定pid的session的pga/uga使用情况
查看>>
自适应软件开发(4)
查看>>
实例恢复的简要解析
查看>>
又看了一遍
查看>>
5.1 深圳
查看>>
睡个好觉
查看>>
分类统计&取第N条记录
查看>>
深圳好热
查看>>