正在做一个监控系统硬件的小项目,遇到了困难。
1,怎么才能看到风扇转速呢?是不是和sensors-applet无关?
2,cpu温度参数是 coretemp吗?
初学者求教各位前辈,谢谢各位!
这是sensors输出
acpitz-virtual-0
Adapter: Virtual device
temp1: +50.0°C (crit = +89.0°C)
temp2: +50.0°C (crit = +89.0°C)
radeon-pci-0200
Adapter: PCI adapter
temp1: +52.5°C (crit = +120.0°C, hyst = +90.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +50.0°C (high = +80.0°C, crit = +90.0°C)
Core 2: +51.0°C (high = +80.0°C, crit = +90.0°C)
可以开一个线程周期性获取这些信息,然后解析来监控各个指标。
http://blog.chinaunix.net/uid-7775769-id-2043976.html
https://ask.fedoraproject.org/en/question/9478/how-do-i-install-lm_sensors-to-check-cpu-temperature-and-fan-speeds/