dots/scripts/Documents/Scripts/perfgov.sh
2022-04-03 01:02:38 +02:00

5 lines
231 B
Bash

#!/bin/bash
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo "performance" > $file; done
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor