CPUFreqUtils on Startup

Forums for the Fluxbox Edition
Forum rules
Before you post please read this

CPUFreqUtils on Startup

Postby Mr Pink57 on Sat May 09, 2009 7:14 pm

Hello,

I'm not totally new to Linux but not a advanced user.

So I have Linux Mint 5 Fluxbox as the only OS on my laptop. I am using CPUFreqUtils to underclock my laptop to 600mhz (which is fine in Flux). However I cannot tell if it is really kicking in on startup or not. I have googled info but it tells me to edit the cd.config (a file name close to that) but I do not have this in my /etc folder and I have done a ctrl + h and gone in as root.

Could I simply add this config file with the info in it? I was also I could control this from the boot up manager but I cannot find the boot manager anywhere.

Does anyone have a script I could use to get this to go on startup?

pink
Mr Pink57
Level 1
Level 1
 
Posts: 5
Joined: Thu May 07, 2009 11:41 pm
Location: a van down by the river

Linux Mint is funded by ads and donations.
 

Re: CPUFreqUtils on Startup

Postby shane on Sun May 10, 2009 2:10 pm

Hi,

Code: Select all
cat /proc/cpuinfo


That should give you the info you need concerning clock speed.

There is probably a GUI way to do this, but I use this command when I want to throttle the cpu to its lowest clock speed.

Code: Select all
sudo cpufreq-set -g powersave


To throttle the CPU to the lowest speed at boot, add this command to an init script like /etc/init.d/bootmisc.sh in the start function of the script. Open it as root and add this line as follows:

Code: Select all
case "$1" in
  start|"")
   do_start
   cpufreq-set -g powersave
   ;;


Also, the default Conky setup should also display clock speed in the CPU section.

Hope it helps.
User avatar
shane
Level 6
Level 6
 
Posts: 1300
Joined: Sun Feb 25, 2007 11:15 pm

Re: CPUFreqUtils on Startup

Postby Mr Pink57 on Sat May 16, 2009 12:56 am

This is why you are the best at Fluxbox Shane.

pink
Mr Pink57
Level 1
Level 1
 
Posts: 5
Joined: Thu May 07, 2009 11:41 pm
Location: a van down by the river

Re: CPUFreqUtils on Startup

Postby shane on Sat May 16, 2009 4:29 am

:D I'm far from being the best... Glad I could be of help...
User avatar
shane
Level 6
Level 6
 
Posts: 1300
Joined: Sun Feb 25, 2007 11:15 pm


Return to Fluxbox

Who is online

Users browsing this forum: No registered users and 2 guests