Forrest logo
back to the cpufreq-info tool

cpufreq-info:tldr:98882

cpufreq-info: Show available CPU frequency policies.
$ cpufreq-info -g
try on your machine

The command "cpufreq-info -g" is used to display the available CPU (Central Processing Unit) frequency scaling governors on a Linux system.

CPU frequency scaling governors are software algorithms that control the operating frequency of the CPU based on the system's performance needs. These governors allow the CPU to dynamically adjust its clock speed, reducing power consumption and heat generation when the system is idle or under low load, and increasing performance when there is a high demand.

The "-g" option in the command indicates that the specific information requested is about the CPU frequency scaling governors. By running this command in the terminal, the system will display a list of available governors, showing which governor is currently in use and which other governors are supported by the system.

Some of the commonly available governors are:

  • Performance: Keeps the CPU running at the maximum clock speed at all times, providing high performance but consuming more power.
  • Powersave: Keeps the CPU running at the minimum clock speed to conserve power, sacrificing performance.
  • OnDemand: Dynamically adjusts the CPU frequency based on the load, increasing it when necessary and reducing it during idle periods.
  • Conservative: Similar to OnDemand, but with a more conservative approach, making smaller frequency adjustments to avoid sudden speed changes.

There can be additional governors available depending on the system configuration and installed kernel modules.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the cpufreq-info tool