how to know the temperature of the mac code example Example: get mac temperature sudo powermetrics --samplers smc |grep -i "CPU die temperature"