check mac cpu temp code example
Example: how to get mac cpu temp
To get CPU temperature:
sudo powermetrics|grep -i "CPU die temperature"
To get GPU temperature:
sudo powermetrics|grep -i "GPU die temperature"
To get CPU temperature:
sudo powermetrics|grep -i "CPU die temperature"
To get GPU temperature:
sudo powermetrics|grep -i "GPU die temperature"