ubuntu 18.04系統下CPU實時頻率查看工具 cpupower


1.  cpupower  安裝

sudo apt install linux-tools-common

 

 

 

 

 

 

 

 

2.   CPU實時頻率查看

watch -n 1 sudo cpupower monitor

 

 

 

 

 

 

結果:

 

 

 

 

 

 

 

 

 

 

3.     cpupower的其他命令

 

 

3.1  查看當前所有CPU的信息

sudo cpupower -c all frequency-info

 

 

 

可以看到當前的CPU支持  performance 和  powersave  兩種模式,當前的模式為  powersave

 

 

 

 

 

3.2   設置所有CPU為性能模式

sudo cpupower -c all frequency-set -g performance

 

 

 

 

 

 

 

 

 

 

 

 

 

3.3   設置所有CPU為節能模式

 

sudo cpupower -c all frequency-set -g powersave

 

 

 

 

 

 

 

 

 

 

 

 

------------------------------------------------------------------------

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM