今天一台兼容服务器发生死机问题,可能就是一年前的内存过热问题,苦于远程,又没有监控软件,于是找了一个lm_sensors 还不错……
今天一台兼容服务器发生死机问题,可能就是一年前的内存过热问题,苦于远程,又没有监控软件,于是找了一个lm_sensors 还不错:
安装lm_sensors
现在基本上每个Linux都已经有lm_sensors包了,我们主要安装了就可以了。或者我们也可以通过源文件来自己编译。
我是使用的源文件,官方网站下载的。
[root@localhostlm_sensors-3.1.2]#makeuser Makefile:175:lib/data.ld:Nosuchfileordirectory Makefile:175:lib/general.ld:Nosuchfileordirectory Makefile:175:lib/error.ld:Nosuchfileordirectory Makefile:175:lib/access.ld:Nosuchfileordirectory ...... [root@localhostlm_sensors-3.1.2]#makeuser_installtesting mkdir-p/usr/local/lib/usr/local/include/sensors/usr/local/man/man3/usr/local/man/man5 ****************************************************************************** Warning:Thisisthefirstinstallationofthelibsensors.so.4* libraryfilesin/usr/local/lib! Youmustupdatethelibrarycacheortheuserspacetoolsmayfail orhaveunpredictableresults! ...... [root@localhostlm_sensors-3.1.2]#sensors-detect #sensors-detectrevision5818(2010-01-1817:22:07+0100) #System:SystemmanufacturerSystemProductName #Board:ASUSTekComputerInc.DSBV-DX/SAS Thisprogramwillhelpyoudeterminewhichkernelmodulesyouneed toloadtouselm_sensorsmosteffectively.Itisgenerallysafe andrecommendedtoacceptthedefaultanswerstoallquestions, unlessyouknowwhatyou'redoing. Somesouthbridges,CPUsormemorycontrollerscontainembeddedsensors. Doyouwanttoscanforthem?Thisistotallysafe.(YES/no):Yes SiliconIntegratedSystemsSIS5595...No VIAVT82C686IntegratedSensors...No VIAVT8231IntegratedSensors...No AMDK8thermalsensors...No AMDFamily10hthermalsensors...No AMDFamily11hthermalsensors...No IntelCorefamilythermalsensor...Success! |
看的出来,支持探测器类型还是很全的。
[root@localhostlm_sensors-3.1.2]#lm_sensorsstart Startinglm_sensors:[OK] [root@localhostlm_sensors-3.1.2]#sensors w83627hf-isa-0290 Adapter:ISAadapter VCore1:+3.33V(min=+0.00V,max=+0.00V)ALarm VCore2:+3.36V(min=+0.00V,max=+0.00V)ALarm ...... |
名字不好认,可能要wf 比较好