snippetbashTip
cpufreq-aperf — Calculate the average CPU frequency over a time period. More information: <https://manned.org/cpufre
Viewed 0 times
thecommandaveragecpufreq-aperffrequencyclicpucalculate
linux
Problem
How to use the
cpufreq-aperf command: Calculate the average CPU frequency over a time period. More information: <https://manned.org/cpufreq-aperf>.Solution
cpufreq-aperf — Calculate the average CPU frequency over a time period. More information: <https://manned.org/cpufreq-aperf>.Start calculating, defaulting to all CPU cores and 1 second refresh interval:
sudo cpufreq-aperfStart calculating for CPU 1 only:
sudo cpufreq-aperf {{[-c|--cpu]}} {{1}}Start calculating with a 3 second refresh interval for all CPU cores:
sudo cpufreq-aperf {{[-i|--interval]}} {{3}}Calculate only once:
sudo cpufreq-aperf {{[-o|--once]}}Code Snippets
Start calculating, defaulting to all CPU cores and 1 second refresh interval
sudo cpufreq-aperfStart calculating for CPU 1 only
sudo cpufreq-aperf {{[-c|--cpu]}} {{1}}Start calculating with a 3 second refresh interval for all CPU cores
sudo cpufreq-aperf {{[-i|--interval]}} {{3}}Calculate only once
sudo cpufreq-aperf {{[-o|--once]}}Context
tldr-pages: linux/cpufreq-aperf
Revisions (0)
No revisions yet.