perf
Framework for Linux performance counter measurements. More information: https://perfwiki.github.io/main/.
- Display basic performance counter stats for a command:
perf stat
- Display system-wide real-time performance counter profile:
sudo perf top
- Run a command and record its profile into
perf.data:
sudo perf record
- Record the profile of an existing process into
perf.data:
sudo perf record
- Read
perf.data(created byperf record) and display the profile:
sudo perf report
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
