On this page you find all important commands for the CLI tool cpupower. If the
command you are looking for is missing please ask our AI.
cpupower
cpupower
is a command line tool that allows users to manage the CPU frequency and power settings on Linux systems. It provides a way to control the scaling governor and other power-related parameters of the CPU.
cpupower
is part of the Linux kernel's CPUFreq subsystem, which dynamically adjusts the CPU frequency based on system load.- With
cpupower
, users can change the CPU frequency scaling governor, which determines how the CPU frequency is adjusted. - The available CPU frequency scaling governors include ondemand, performance, powersave, and userspace.
- The ondemand governor adjusts the CPU frequency based on usage, while the performance governor keeps the frequency at the maximum level.
- Conversely, the powersave governor lowers the frequency to save power, and the userspace governor enables external tools to control the frequency scaling.
cpupower
can also display information about the CPU frequency scaling and current system settings.- Users can set the minimum and maximum frequency limits for the CPU using
cpupower
. - The tool can show information about available CPUFreq drivers and supported hardware features.
- It can also be used to set the CPU performance profile to balance power consumption and performance requirements.
cpupower
is a powerful utility for managing CPU power and frequency settings, providing flexibility and control over system performance and energy usage.
List of commands for cpupower:
-
cpupower:tldr:49612 cpupower: Print CPU 0's available frequency [g]overnors.$ sudo cpupower --cpu ${0} frequency-info g | grep "analyzing\|governors"try on your machineexplain this command
-
cpupower:tldr:a353d cpupower: Print CPU 4's frequency from the hardware, in a human-readable format.$ sudo cpupower --cpu ${4} frequency-info --hwfreq --humantry on your machineexplain this command
-
cpupower:tldr:ba37a cpupower: Print information about all cores.$ sudo cpupower --cpu ${all} infotry on your machineexplain this command
-
cpupower:tldr:d7d7a cpupower: Set all CPUs to a power-saving frequency governor.$ sudo cpupower --cpu ${all} frequency-set --governor ${powersave}try on your machineexplain this command