User Tools

Site Tools


CPU Speed Script

This script is extremely simple. I wrote it while trying to slow down a VIA C3 processor with the Linux powersave tools. This script was first made public here.

You can kill the script at the command line with <cntrl>-C in most shells.

#! /bin/bash
# 2004/01/07
# output cpu speed every second or so until terminated.
while [ true ]; do
        powersave -r
        #use this line instead if you don't have powersave
        #grep MHz /proc/cpuinfo | cut -d: -f2
        sleep 1
/home/cfreyer/public_html/data/pages/technology/linux/cpuspeed.txt · Last modified: 2007/09/26 11:33 by Chris Freyer