Linux Command Library
commands
Commands
basic
Basic
tips
Tips

cpufreq-info

Utility to retrieve cpufreq kernel information

- Show CPU frequency information for all CPUs:
cpufreq-info

- Show CPU frequency information for the specified CPU:
cpufreq-info -c [cpu_number]

- Show the allowed minimum and maximum CPU frequency:
cpufreq-info -l

- Show the current minimum and maximum CPU frequency and policy in table format:
cpufreq-info -o

- Show available CPU frequency policies:
cpufreq-info -g

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

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

cpufreq-info [options]

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

-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.

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.

/sys/devices/system/cpu/cpu*/cpufreq/
/proc/cpufreq
(deprecated)
/proc/sys/cpu/
(deprecated)

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

cpufreq-set(1), cpufreq-aperf(1)

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied