本文介绍了在MacOSX(Macbook Pro)上以编程方式读取CPU温度(以及其他传感器数据)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想以编程方式从MacBook Pro(2009年型号)中读取CPU温度和其他有趣的传感器数据.
I'd like to programmatically read CPU temperature + any other interesting sensor data from my MacBook Pro (2009 model).
我该怎么做?
I noticed a previous post pointing to this open source software, but it seems to be incompatible with my model.
我注意到有很多应用程序都可以做到这一点,所以一定有可能!
I notice that there are numerous apps which are able to do it, so it must be possible!
推荐答案
我找到了这个开源程序,可能会帮助您实现该想法(比您的参考文献要新). https://github.com/lavoiesl/osx-cpu-temp
I found this opensource that maybe help you on the idea of how to do it (it's newer than your reference).https://github.com/lavoiesl/osx-cpu-temp
这篇关于在MacOSX(Macbook Pro)上以编程方式读取CPU温度(以及其他传感器数据)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!