Programmatically read CPU temperature (+ other sensor data) on MacOSX (Macbook Pros)

半腔热情 提交于 2019-12-04 19:10:25

问题


I'd like to programmatically read CPU temperature + any other interesting sensor data from my MacBook Pro (2009 model).

How do I do it?

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!


回答1:


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



来源:https://stackoverflow.com/questions/8756491/programmatically-read-cpu-temperature-other-sensor-data-on-macosx-macbook-p

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!