Trying to get teh ondemand power governor to work

Scott J. Henson scotth at csee.wvu.edu
Wed May 10 04:22:08 UTC 2006


Jamie Dobbs wrote:
> If I wasn't on a system using sudo I'd simply su - to reoot and enter the
> command:
>
> echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
>
> How can i do similar on Ubuntu? I've tried
>
> sudo "echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
>
> but that just returns an error (which unfortunately I cannot recall at the
> moment and I'm not near my Ubuntu box).
>
> Can someone point me in the right direction as I know I should be able to
> do it but for sime reason my brain just can't work out how!!
>   

The short fix to your problem is 'sudo su -'  That gives you a root
terminal after putting in your password.  Also sudo -i does the same
thing from my memory, but I go with sudo su out of bad habit. 

-- 
Scott Henson
LCSEE Systems Staff
WVU MAE Undergraduate
Ubuntu User





More information about the ubuntu-users mailing list