perf
Linux kernel and CPU performance profiler
Syntax
$perf [subcommand] [options]
Optionen
stat
top
record
report
Examples
Examples
$perf stat ls
Examples
$perf top
Examples
$perf record -a sleep 5
Warnings
Some features require root privileges or specific kernel settings
Alternatives
Typical use cases
Note
Suitable for deep analysis of hotspots, CPU events, and kernel behavior.
Export