Sometimes you will find that your Mac is running very hot, and you may want to keep track of it over time to see if it’s persistent or only a spike.
There are tools like Intel’s Power Widget, or even the TurboBoostSwitcher that will show you graphs of these sort of things, but what about getting this information directly from the CLI?
You’re in luck!
sudo powermetrics --samplers smc | grep -i "CPU die temperature"