标签:系统监控
我有一台普通pc机,系统centos7,开机半年了,使用软件检测温度。对centos不是很完美,只能健康到硬盘,cpu温度。 ubuntu就能完美支持。
安装这个软件没有什么难度,这里只做一下笔记方便以后使用。
sudo yum install lm_sensors hddtemp -y sudo yum install gcc gtk3-devel GConf2-devel lm_sensors-devel cppcheck libatasmart-devel libcurl-devel json-c-devel libmicrohttpd-devel help2man libnotify-devel libgtop2-devel make -y wget https://wpitchoune.net/psensor/files/psensor-1.2.0.tar.gz tar -zxf psensor-1.2.0.tar.gz cd psensor-1.2.0 ./configure make make install sudo sensors-detect #后面的内容一路yes,默认回车即可 sudo service lm_sensors start sudo hddtemp -d /dev/sda [root@hddcluster2 ~]# sensors acpitz-virtual-0 Adapter: Virtual device temp1: +27.8°C (crit = +105.0°C) temp2: +29.8°C (crit = +105.0°C) coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +41.0°C (high = +80.0°C, crit = +100.0°C) Core 0: +41.0°C (high = +80.0°C, crit = +100.0°C) Core 1: +41.0°C (high = +80.0°C, crit = +100.0°C) Core 2: +40.0°C (high = +80.0°C, crit = +100.0°C) Core 3: +41.0°C (high = +80.0°C, crit = +100.0°C) psensor
本文出自 “禅剑一如” 博客,请务必保留此出处http://yanconggod.blog.51cto.com/1351649/1895777
标签:系统监控
原文地址:http://yanconggod.blog.51cto.com/1351649/1895777