cpufreq-info

Utility to retrieve cpufreq kernel information

TLDR

Show CPU frequency information for all CPUs

>_ cpufreq-info
copy

Show CPU frequency information for the specified CPU

>_ cpufreq-info -c [cpu_number]
copy

Show the allowed minimum and maximum CPU frequency

>_ cpufreq-info -l
copy

Show the current minimum and maximum CPU frequency and policy in table format

>_ cpufreq-info -o
copy

Show available CPU frequency policies

>_ cpufreq-info -g
copy

Show current CPU work frequency in a human-readable format, according to the cpufreq kernel module

>_ cpufreq-info -f -m
copy

Show current CPU work frequency in a human-readable format, by reading it from hardware (only available to root)

>_ sudo cpufreq-info -w -m
copy

SYNTAX

cpufreq-info [options]

DESCRIPTION

A small tool which prints out cpufreq information helpful to developers and interested users.

OPTIONS

-c --cpu <CPU>

<CPU> number which information shall be determined about.

-e --debug

Prints out debug information.

-f --freq

Get frequency the CPU currently runs at, according to the cpufreq core.

-w --hwfreq

Get frequency the CPU currently runs at, by reading it from hardware (only available to root).

-l --hwlimits

Determine the minimum and maximum CPU frequency allowed.

-d --driver

Determines the used cpufreq kernel driver.

-p --policy

Gets the currently used cpufreq policy.

-g --governors

Determines available cpufreq governors.

-a --related-cpus

Determines which CPUs run at the same hardware frequency.

-a --affected-cpus

Determines which CPUs need to have their frequency coordinated by software.

-s --stats

Shows cpufreq statistics if available.

-y --latency

Determines the maximum latency on CPU frequency changes.

-o --proc

Prints out information like provided by the /proc/cpufreq interface in 2.4. and early 2.6. kernels.

-m --human

human-readable output for the -f, -w, -s and -y parameters.

-h --help

Prints out the help screen.

REMARKS

You can’t specify more than one of the output specific options -o -e -a -g -p -d -l -w -f -y.

You also can’t specify the -o option combined with the -c option.

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-set(1), cpufreq-aperf(1)

Copied to clipboard
free 100$ digital ocean credit