Content-type: text/html Manpage of cpu_freq_throttle

cpu_freq_throttle

Section: Manual (8)
Updated: May 2005
Index Return to Main Contents
 

NAME

cpu_freq_throttle - Change frequency or/and CPU throttle  

SYNOPSIS

cpu_freq_throttle [ -h -t throttle -f frequence ]

cpu_freq_throttle [ -l ] [ -p ]  

DESCRIPTION

cpu_freq_throttle is a throttle and frequency controller. You need acpi-cpufreq module, and governor to be in userspace mode: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

If governor is not in userspace mode, cpu_freq_throttle will change it. To use it under user, you can use sudo, just edit /etc/sudoers and add something like this:

yourusername ALL = (ALL) NOPASSWD: /usr/sbin/cpu_freq_throttle

Execute the program without parameter to show the help.  

OPTIONS

This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
-t --throttle [ mode ]
Change CPU throttle mode : 0 = 100% so maximum throttle speed, 1 = 75%, 2 = 50% and 3 = 25% so minimum throttle speed. Using this file: /proc/acpi/processor/CPU0/throttling . for some laptop (HP for example), cpu_freq_throttle use /proc/acpi/processor/C000/throttling to set throttle speed.
-f --freq [ frequence ]
Change CPU frequency. List of available frequency available: /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
-l --lifetime
Maximum lifetime mode. Minimum CPU frequency and minimum throttle mode. Min CPU frequency is provided by value in this file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
-p --performance
Performance mode: CPU and throttle are set to maximum. Max CPU frequency is provided by value in this file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
 

FILES

/usr/sbin/cpu_freq_throttle  

EXAMPLES

cpu_freq_throttle -t 1 adjust throttle to 1 mode, so 75%

cpu_freq_throttle -p adjust CPU to Max frequency, and adjust trottle to 100%

cpu_freq_throttle -f 1200000 adjust CPU frequency to 1200000

cpu_freq_throttle -l adjust CPU frequency to 600000 and adjust throttle to 50%

cpu_freq_throttle -f 1700000 -t 1 adjust CPU FREQ to 1700000 and throttle to 75%

 

KNOWN BUGS

None. Unless you tell me about one. I run it permanently on my machine and never encountered any problems. Please report.  

AUTEUR

Antoine Ginies <aginies _@_ mandriva.com>


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
EXAMPLES
KNOWN BUGS
AUTEUR

This document was created by man2html, using the manual pages.
Time: 10:53:51 GMT, June 14, 2005