You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Is there an efficient way of observing the temperature of your Mac?

Is there any known way of monitoring the temperature of a Mac? (MacBook Air 2020, M1)

MacBook Air 13″, macOS 14.0

Posted on Oct 10, 2023 7:44 AM

Reply
6 replies

Oct 11, 2023 6:46 PM in response to ku4hx

ku4hx wrote:

You can do this in terminal: sudo powermetrics --samplers smc |grep -i "CPU die temperature"

FYI, this does not work on an Apple Silicon Mac.....there is no SMC. The only thing I could find relating to system temperature on Apple Silicon Macs is a "thermal pressure" reference which on my Apple Silicon Mac reported as "Nominal", so not very useful.

sudo  powermetrics  -s  thermal


Many of the command line utilities don't retrieve the same information from an Apple Silicon Mac as it does on an Intel Mac. If the information can be retrieved, many times it tends to require a lot more work to parse it from the output.


Oct 12, 2023 7:08 AM in response to ku4hx

It surprised me too when I went to test a battery using another low level utility and found Apple modified the output of one of the values to be a percentage instead of the actual raw value reported by the battery making it completely useless. Still in the process of creating a script to access the information using yet another utility which is incredibly hard to parse. Just goes to show that the macOS codebase is not the same for Intel & Apple Silicon Macs. These changes are not something someone would normally suspect.

Oct 12, 2023 8:30 AM in response to HWTech

HWTech wrote:

It surprised me too when I went to test a battery using another low level utility and found Apple modified the output of one of the values to be a percentage instead of the actual raw value reported by the battery making it completely useless. Still in the process of creating a script to access the information using yet another utility which is incredibly hard to parse. Just goes to show that the macOS codebase is not the same for Intel & Apple Silicon Macs. These changes are not something someone would normally suspect.


I’ve done work porting operating systems across processor implementations and different processor architectures, and this is absolutely one of the areas where there can be and often are differences.


Even within entirely-vendor-controlled processor architecture families (e.g. Apple silicon, definitely not Intel), there can be large differences in the sensor data offered and the sensor data interfaces used to access it. Sensor data might have been available in some registers on one, in some different registers on another, accessible only via I2C on another, and via the box-internal Ethernet network on a third.


The implementation of anything that’s not included in the user-visible API can be fickle. And sometimes even what’s in the user-visible API, if the necessary platform port changes are big enough.


Hardware diagnostics and event logging is almost always “fun”, and is at often least system family-specific if not box-specific.


Processor errata is such sweet sorrow.

Is there an efficient way of observing the temperature of your Mac?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.