← 返回命令列表

Linux command

tiptop 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Launch the interactive monitor

tiptop

Refresh every 2 seconds

tiptop -d [2]

Show only the named process

tiptop -p [firefox]

Show only one user's tasks

tiptop -u [$USER]

Run in batch mode

tiptop -b -n [5]

Include kernel activity

sudo tiptop -K

说明

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.

参数

-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 _PID_or_NAME_
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.

FAQ

What is the tiptop command used for?

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.

How do I run a basic tiptop example?

Run `tiptop` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -b do in tiptop?

Batch mode: print to stdout, no interactive control.