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

 

 

 

 

 

 

 

 

 

 

 

 

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

 

posted on 2020-11-15 22:55  Angry_Panda  阅读(14277)  评论(0编辑  收藏  举报

导航