PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Untitled
2 sec ago
Untitled
2 sec ago
Charmander: that set is evil
28 sec ago
Untitled
28 sec ago
Untitled
32 sec ago
Untitled
34 sec ago
Untitled
39 sec ago
Untitled
42 sec ago
dean
By: a guest on
May 2nd, 2012
| syntax:
None
| size: 0.21 KB | hits: 33 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
#! /bin/sh
# Set the CPU Frequency Scaling governor to "ondemand"
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
do
[ -f $CPUFREQ ] || continue
echo -n ondemand > $CPUFREQ
done
create a
new version
of this paste
RAW Paste Data
#! /bin/sh # Set the CPU Frequency Scaling governor to "ondemand" for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor do [ -f $CPUFREQ ] || continue echo -n ondemand > $CPUFREQ done