LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

tiptop

Top-like display backed by hardware performance counters

TLDR

Launch the interactive monitor
$ tiptop
copy
Refresh every 2 seconds
$ tiptop -d [2]
copy
Show only the named process
$ tiptop -p [firefox]
copy
Show only one user's tasks
$ tiptop -u [$USER]
copy
Run in batch mode for 5 iterations (e.g., for logging)
$ tiptop -b -n [5]
copy
Include kernel activity in counter values (needs root / CAP_SYS_ADMIN)
$ sudo tiptop -K
copy

SYNOPSIS

tiptop [options] [command]

DESCRIPTION

tiptop displays a top-like view of running tasks but, instead of CPU% and RSS, the columns come from hardware performance counters (instructions per cycle, cache misses, branch mispredictions, etc.) read through the Linux perf_event interface. This makes it suitable for spotting microarchitectural bottlenecks — bad cache behavior, branch-prediction issues, FPU pressure — that a standard top cannot see.The set of counters and how they are combined into columns is configured per-architecture; users can also define custom columns in ~/.tiptoprc to expose additional counters or derived metrics.

PARAMETERS

-b

Batch mode: print to stdout, no interactive control.
-c
Display the full command line instead of the process name.
-d SECONDS
Delay between refreshes (fractional values allowed).
-H
Show one line per thread instead of per process.
-i
Include idle tasks.
-K
Count kernel-mode events (needs perf_event_paranoid <= 1 or root).
-n COUNT
Exit after COUNT refreshes (useful with -b).
-p PIDorNAME
Restrict the display to a process by PID or basename.
-u USER
Restrict the display to a user.
-w PID
Highlight/follow a single task.
-S COL
Sort by the named column.
--sticky
Keep finished tasks in the table.
--epoch
Print Unix epoch timestamps in batch output.

INSTALL

sudo apt install tiptop
copy
sudo dnf install tiptop
copy
sudo zypper install tiptop
copy
nix profile install nixpkgs#tiptop
copy

CAVEATS

Requires hardware performance-counter support and an accessible perf_event subsystem; on hardened kernels you may need to lower /proc/sys/kernel/perf_event_paranoid. -K (count kernel events) requires elevated privileges. Some virtual machines do not expose PMU counters, in which case columns will read as zero.

HISTORY

tiptop was written by Erven Rohou at INRIA to make hardware performance counters as accessible as top. A separate, unrelated Python tool of the same name exists; this page documents the canonical Erven Rohou implementation packaged as tiptop in Debian, Ubuntu, Fedora, and Arch.

SEE ALSO

top(1), htop(1), perf(1), pidstat(1)

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