dots/scripts/Documents/Scripts/perfgov.sh

5 lines
231 B
Bash
Raw Normal View History

2022-04-03 01:02:38 +02:00
#!/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