问题
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