# sudo apt-get install cpufrequtils
# cpufreq-info

# sudo cpufreq-set -c 0 -d 0.8Ghz
# sudo cpufreq-set -c 0 -d 4.1Ghz

while true; do
    cpufreq-info | grep 'current CPU'
    sleep 3
    echo " " 
done

