First, story time:
Yesterday all of a sudden my iMac started becoming extremely slow, as if some process was going nuts. I checked Activity Monitor just to find that it was the kernel_task process (pid 0) that was seemingly consuming all CPU. I tried this and that, killing different running things, and all of a sudden everything is back to normal. I reboot the computer, still fine. However, after a few minutes, I have the same issue again.
After a lot of random troubleshooting, I realize that my computer is completely silent — and the fan is showing 0 RMP! And the CPU/GPU temps are getting close to 100 C. Ouch.
So, the fan is dead. I started watching a "how to get into your iMac" video, and got some things to pry the screen off. But first I come to my senses and remember "oh, maybe I should do a PRAM reset". I do that (while having the computer laying down), and all of a sudden the fan works again!
I move the computer back to my desk, plug everything back in, boot it up and... Same issue, and 0 RPM.
I shut it down, unplug my network cable, two Thunderbolt devices, one USB cable and two USB keys. I boot it up and the fan is working!
So now I reconnect everything again, one device at a time and reboot for each device. The fan is spinning. So now everything is connected again, the fan works and everything is back to normal. I can hear the fan, two different fan apps shows the RPM, so yeah, working fine for real.
But if I run "sudo powermetrics --samplers smc" in the terminal, for some reason "Fan speed" doesn't show up at all as if that sensor isn't available, only thermal levels and temps are showing. Fanny and Macs Fan Control still show the fan speed, so they can apparently read the needed sensor.
So, tl; dr:
Anyone with this iMac, does "sudo powermetrics --samplers smc" show your fan or not, or do I still have some weird fan issue?
Yesterday all of a sudden my iMac started becoming extremely slow, as if some process was going nuts. I checked Activity Monitor just to find that it was the kernel_task process (pid 0) that was seemingly consuming all CPU. I tried this and that, killing different running things, and all of a sudden everything is back to normal. I reboot the computer, still fine. However, after a few minutes, I have the same issue again.
After a lot of random troubleshooting, I realize that my computer is completely silent — and the fan is showing 0 RMP! And the CPU/GPU temps are getting close to 100 C. Ouch.
So, the fan is dead. I started watching a "how to get into your iMac" video, and got some things to pry the screen off. But first I come to my senses and remember "oh, maybe I should do a PRAM reset". I do that (while having the computer laying down), and all of a sudden the fan works again!
I move the computer back to my desk, plug everything back in, boot it up and... Same issue, and 0 RPM.
I shut it down, unplug my network cable, two Thunderbolt devices, one USB cable and two USB keys. I boot it up and the fan is working!
So now I reconnect everything again, one device at a time and reboot for each device. The fan is spinning. So now everything is connected again, the fan works and everything is back to normal. I can hear the fan, two different fan apps shows the RPM, so yeah, working fine for real.
But if I run "sudo powermetrics --samplers smc" in the terminal, for some reason "Fan speed" doesn't show up at all as if that sensor isn't available, only thermal levels and temps are showing. Fanny and Macs Fan Control still show the fan speed, so they can apparently read the needed sensor.
So, tl; dr:
Anyone with this iMac, does "sudo powermetrics --samplers smc" show your fan or not, or do I still have some weird fan issue?