set-governor 137 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 #! /bin/bash NCPUS=$(grep processor /proc/cpuinfo | wc -l) for i in $(seq 0 $((NCPUS-1)) ); do echo $i cpufreq-set -g $1 -c $i done