---
name: "cpufreq-set"
section: "1"
platform: "linux"
package: "cpufrequtils"
version: "008-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/cpufreq-set"
---

# cpufreq-set(1)

A small tool which allows a user to modify cpufreq settings.

## NAME

cpufreq-set - A small tool which allows a user to modify cpufreq settings.

## SYNTAX

cpufreq-set \[*options*\]

## DESCRIPTION

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)
```

## AUTHORS

```
Dominik Brodowski <linux@brodo.de> - author
Mattia Dongili<malattia@gmail.com> - first autolibtoolization
```

## SEE ALSO

[cpufreq-info(1)](/cpufreq-info/1.md), [cpufreq-aperf(1)](/cpufreq-aperf/1.md)
