cpufreq-aperf

Calculate the average CPU frequency over a time period. Requires root privileges. More information: <https://manned.org/cpufreq-aperf>.

Install

All systems
curl cmd.cat/cpufreq-aperf.sh
Debian Debian
apt-get install cpufrequtils
Ubuntu
apt-get install cpufrequtils
Alpine
apk add cpufrequtils
image/svg+xml Kali Linux
apt-get install cpufrequtils
CentOS
yum install cpufrequtils
Windows (WSL2)
sudo apt-get update sudo apt-get install cpufrequtils
Raspbian
apt-get install cpufrequtils
Docker
docker run cmd.cat/cpufreq-aperf cpufreq-aperf powered by Commando

Calculate the average CPU frequency over a time period. Requires root privileges. More information: <https://manned.org/cpufreq-aperf>.

  • Start calculating, defaulting to all CPU cores and 1 second refresh interval:
    sudo cpufreq-aperf
  • Start calculating for CPU 1 only:
    sudo cpufreq-aperf -c 1
  • Start calculating with a 3 second refresh interval for all CPU cores:
    sudo cpufreq-aperf -i 3
  • Calculate only once:
    sudo cpufreq-aperf -o

© tl;dr; authors and contributors