|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们!炎炎夏季到来,我们大概会体贴本人的电脑大概办事器CPU的温度,假如在Linux体系中疾速检察CPU温度呢?lm_sensors供应了一套计划,能够主动侦测主板传感器的型号和读取体例,能够在下令行形式下疾速装置运转。在CentOS体系中装置利用实比方下:
#yuminstall-ylm_sensors
然后运转sensors-detect来探测传感器范例,此下令会给出一些成绩,一概回覆Yes便可:
[root@vm-36~]#sensors-detect
Stoppinglm_sensors:[FAILED]
#sensors-detectrevision1.1
#System:DellInc.PowerEdgeR710
#Board:DellInc.0XDX06
Thisprogramwillhelpyoudeterminewhichkernelmodulesyouneed
toloadtouselm_sensorsmosteffectively.Itisgenerallysafe
andrecommendedtoacceptthedefaultanswerstoallquestions,
unlessyouknowwhatyouredoing.
Somesouthbridges,CPUsormemorycontrollerscontainembeddedsensors.
Doyouwanttoscanforthem?Thisistotallysafe.(YES/no):
SiliconIntegratedSystemsSIS5595...No
VIAVT82C686IntegratedSensors...No
VIAVT8231IntegratedSensors...No
AMDK8thermalsensors...No
AMDFamily11hthermalsensors...No
Inteldigitalthermalsensor...Success!
(driver`coretemp)
IntelAMBFB-DIMMthermalsensor...No
VIAC7thermalandvoltagesensors...No
SomeSuperI/Ochipscontainembeddedsensors.Wehavetowriteto
standardI/Oportstoprobethem.Thisisusuallysafe.
DoyouwanttoscanforSuperI/Osensors?(YES/no):
ProbingforSuper-I/Oat0x2e/0x2f
Tryingfamily`NationalSemiconductor...No
Tryingfamily`SMSC...Yes
Found`SMSCEMC2700LPCSuperIO
(noinformationavailable)
ProbingforSuper-I/Oat0x4e/0x4f
Tryingfamily`NationalSemiconductor...No
Tryingfamily`SMSC...No
Tryingfamily`VIA/Winbond/Nuvoton/Fintek...No
Tryingfamily`ITE...No
Somesystems(mainlyservers)implementIPMI,asetofcommoninte***ces
throughwhichsystemhealthdatamayberetrieved,amongstotherthings.
WefirsttrytogettheinformationfromSMBIOS.Ifwedontfindit
there,wehavetoreadfromarbitraryI/Oportstoprobeforsuch
inte***ces.Thisisnormallysafe.DoyouwanttoscanforIPMI
inte***ces?(YES/no):
Found`IPMIBMCKCSat0xca8...Success!
(confidence8,driver`ipmisensors)
SomehardwaremonitoringchipsareaccessiblethroughtheISAI/Oports.
WehavetowritetoarbitraryI/Oportstoprobethem.Thisisusually
safethough.Yes,youdohaveISAI/Oportsevenifyoudonothaveany
ISAslots!DoyouwanttoscantheISAI/Oports?(YES/no):
Lastly,wecanprobetheI2C/SMBusadaptersforconnectedhardware
monitoringdevices.Thisisthemostriskypart,andwhileitworks
reasonablywellonmostsystems,ithasbeenreportedtocausetrouble
onsomesystems.
DoyouwanttoprobetheI2C/SMBusadaptersnow?(YES/no):
Sorry,nosupportedPCIbusadaptersfound.
Modulei2c-devloadedsuccessfully.
NowfollowsasummaryoftheprobesIhavejustdone.
JustpressENTERtocontinue:
Driver`coretemp:
*Chip`Inteldigitalthermalsensor(confidence:9)
Driver`ipmisensors:
*ISAbus,address0xca8
Chip`IPMIBMCKCS(confidence:8)
Warning:therequiredmoduleipmisensorsisnotcurrentlyinstalled
onyoursystem.IfitisbuiltintothekernelthenitsOK.
Otherwise,checkhttp://www.lm-sensors.org/wiki/Devicesfor
driveravailability.
Doyouwanttooverwrite/etc/sysconfig/lm_sensors?(YES/no):
Startinglm_sensors:loadingmoduleipmi-sicoretemp[OK]
Unloadingi2c-dev...OK
最初运转sensors下令来检察CPU温度:
[root@vm-36~]#sensors
coretemp-isa-0000
Adapter:ISAadapter
Core0:+44.0 |
|