主机评测 - 调节CPU频率
type: channel
link: https://zjpc.cc/tag/调节CPU频率/
items: Linux安装调节CPU频率工具cpupower

Linux安装调节CPU频率工具cpupower
type: item
date: 2022-03-07T22:17:40+08:00
description: 不安装工具底层的方法cat /proc/cpuinfo | grep MHzecho performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor >/dev/null下面是安装cpupower方法apt-get install linux-cpupower -y 或者 apt-get install -y linux-tools-$(uname -r)cpupower -c all frequency-set -g performance # 设置所有CPU为性能模式cpupower -c all frequency-set -g powersave #设置所有CPU为节能模式cpupower -c all frequency-info #查看当前所有CPU的信息watch -n 1 cpupower monitor #CPU实时频率查看