lavoiesl / osx-cpu-temp

Outputs current CPU temperature for OSX
GNU General Public License v2.0
925 stars 156 forks source link

Output is "0.0°C" on a iMac (27-inch, Late 2009), OS X 10.11.4? #12

Open tianqig opened 7 years ago

tianqig commented 7 years ago

Please help?

Thanks

dmyers commented 7 years ago

I had this issue on a 2009 Mac Pro too with MacOS 10.13.

AlJohri commented 5 years ago

Also running into this issue on a hackintosh. Intel Power Gadget seems to be working for me though. https://software.intel.com/en-us/articles/intel-power-gadget-20

iStats CLI didn't work though.

$ gem install istats
$ istats cpu
CPU temp:               0.0°C

Intel Power Gadget working: screen shot 2019-01-14 at 8 13 13 pm

roastchicken commented 4 years ago

If anyone is able to reproduce this, it might be worth testing the stock powermetrics command-line utility which (AFAIK) is the closest you can get to getting these values directly from the SMC. Intel's Power Gadget may be using some other information to determine the temperatures.

Could you post the **** SMC Sensors **** section of the output of the following command?

sudo powermetrics --samplers smc -i1 -n1 will:

If this issue is reproduced with powermetrics, then we know the cause is not osx-cpu-temp but rather what the SMC is reporting.