📜  如何获取 mac cpu temp - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:47.451000             🧑  作者: Mango

代码示例1
To get CPU temperature:
sudo powermetrics|grep -i "CPU die temperature"
To get GPU temperature:
sudo powermetrics|grep -i "GPU die temperature"