Forrest logo
back to the cpufreq-info tool

cpufreq-info:tldr:7e6c3

cpufreq-info: Show current CPU work frequency in a human-readable format, by reading it from hardware (only available to root).
$ sudo cpufreq-info -w -m
try on your machine

The command "sudo cpufreq-info -w -m" is used to display information about the CPU frequency scaling. Here's a breakdown of the command and its options: - "sudo": It is used to execute the command as a superuser or administrator, granting access to critical system files and settings. - "cpufreq-info": This is the main command that fetches information about the CPU frequency scaling. - "-w": This option is used to display the current CPU frequency in a human-readable format, showing the value in megahertz (MHz). - "-m": This option allows displaying the available CPU frequency values in a more readable format, using megahertz (MHz) as the unit of measurement. Combining these options, the command "sudo cpufreq-info -w -m" will provide you with information about the current CPU frequency in MHz, along with a list of available CPU frequency values in a human-readable format.

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