turbostat reports CPU frequency, idle states (C-states), turbo boost behavior, and related power/performance counters. It’s especially useful on Intel CPUs (and works on many systems via kernel interfaces).
sudo for best access to counters.
On many distros, turbostat is part of the linux-tools package set. Package names vary by distro and kernel version.
# Debian/Ubuntu (common) sudo apt install linux-tools-common linux-tools-$(uname -r) # Fedora/RHEL (common) sudo dnf install kernel-tools # Arch (common) sudo pacman -S linux-tools
sudo turbostat
Shows a live summary of CPU power/perf stats.
sudo turbostat --interval 1
Shorter interval helps spot spikes and turbo transitions.
sudo turbostat --interval 1 --num_iterations 10
Good for quick benchmarking or “before/after” comparisons.
sudo turbostat -- make -j$(nproc)
Runs the command while collecting telemetry, then prints totals.
sudo turbostat --interval 1 --num_iterations 60 > turbostat_60s.txt
Capture a 1-minute window for analysis.
sudo turbostat --interval 2
Let the system sit idle and observe deep C-state percentages.
# Example: change governor (if using cpufreq) sudo cpupower frequency-set -g powersave sudo turbostat --interval 1 --num_iterations 10 sudo cpupower frequency-set -g performance sudo turbostat --interval 1 --num_iterations 10
See how frequency and residency differ.
sudo turbostat --interval 1
Look at “PkgWatt” and per-core frequencies to spot imbalances.
sudo turbostat --Summary --interval 1
Show summary-focused view (options differ slightly by version).
sudo powertop --auto-tune sudo turbostat --interval 1 --num_iterations 20
Apply tunings then confirm improved idle residency / reduced power.