cpu0:cat /sys/class/thermal/thermal_zone0/temp
cpu1:cat /sys/class/thermal/thermal_zone1/temp
就會獲取到cpu當前溫度,在我的目錄下還有一個文件夾 “thermal_zone1”可能是cpu是雙核的所以有兩個溫度
cpu0:cat /sys/class/thermal/thermal_zone0/temp
cpu1:cat /sys/class/thermal/thermal_zone1/temp
就會獲取到cpu當前溫度,在我的目錄下還有一個文件夾 “thermal_zone1”可能是cpu是雙核的所以有兩個溫度
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。