cpufreq-set1
A small tool which allows a user to modify cpufreq settings.
Usage
cpufreq-set [options]
Overview
cpufreq-set allows you to modify cpufreq settings without having to type e.g. "/sys/devices/system/cpu/cpu0/cpufreq/scaling_set_speed" all the time.
Options
-
-c --cpu <CPU> -
number of CPU where cpufreq settings shall be modified.
-
-d --min <FREQ> -
new minimum CPU frequency the governor may select.
-
-u --max <FREQ> -
new maximum CPU frequency the governor may select.
-
-g --governor <GOV> -
new cpufreq governor.
-
-f --freq <FREQ> -
specific frequency to be set. Requires userspace governor to be available and loaded.
-
-r --related -
modify all hardware-related CPUs at the same time
-
-h --help -
Prints out the help screen.
Remarks
Omitting the -c or --cpu argument is equivalent to setting it to zero.
The -f FREQ, --freq FREQ parameter cannot be combined with any other parameter except the -c CPU, --cpu CPU parameter.
FREQuencies can be passed in Hz, kHz (default), MHz, GHz, or THz by postfixing the value with the wanted unit name, without any space (frequency in kHz =^ Hz * 0.001 =^ MHz * 1000 =^ GHz * 1000000).
On Linux kernels up to 2.6.29, the -r or --related parameter is ignored.
Files
/sys/devices/system/cpu/cpu*/cpufreq/ /proc/cpufreq (deprecated) /proc/sys/cpu/ (deprecated)
Releases
10 releases since Debian 3.1 (Sarge); the text changed 4 times.
--related since Debian 6.0 (Squeeze);
-r since Debian 6.0 (Squeeze).