LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

turbostat

Report CPU frequency, power, and idle statistics

TLDR

Display statistics every 5 seconds
$ sudo turbostat
copy
Display statistics every specified amount of seconds
$ sudo turbostat -i [n_seconds]
copy
Display statistics without header information
$ sudo turbostat --quiet
copy
Display useful CPU information every second for specific CPUs
$ sudo turbostat --quiet -i 1 --cpu 0-[CPU_count] --show "PkgWatt","Busy%","Core","CoreTmp"
copy

SYNOPSIS

turbostat [options] [command...]

DESCRIPTION

turbostat reports processor topology, frequency, temperature, power consumption, and idle statistics for Intel and AMD processors. It reads hardware performance counters and model-specific registers.The tool is valuable for understanding CPU behavior under load, identifying thermal throttling, and analyzing power consumption. It shows per-core and per-package statistics.

PARAMETERS

-i, --interval _seconds_

Sampling interval (default: 5 seconds)
--quiet
Don't print system configuration header
--cpu _list_
Specify which CPUs to monitor
--show _columns_
Select columns to display
--hide _columns_
Hide specified columns
--out _file_
Write output to file
--debug
Enable debug output

INSTALL

sudo apt install linux-cpupower
copy
sudo pacman -S cpupower
copy
sudo apk add cpupower
copy
sudo zypper install cpupower
copy

CAVEATS

Requires root privileges and access to MSR (Model Specific Registers). Works best on Intel processors; AMD support varies. Some features require specific CPU models. Part of the Linux kernel tools.

SEE ALSO

cpupower(1), lscpu(1), sensors(1), powertop(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid