Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cpu_ondemand.sh:
- #!/bin/bash
- for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
- do
- if [ -f $CPUFREQ ]
- then
- echo -n ondemand > $CPUFREQ
- fi
- done
- cpu_perf.sh:
- #!/bin/bash
- for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
- do
- if [ -f $CPUFREQ ]
- then
- echo -n performance > $CPUFREQ
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement