tldr-pages/tldr

Page request: asprof

開放

#21,675 建立於 2026年3月23日

 (2 則留言) (0 個反應) (0 位負責人)Markdown (5,376 個分叉)batch import
help wantednew command

倉庫指標

星標
 (63,401 顆星)
PR 合併指標
 (平均合併 7天 5小時) (30 天內合併 321 個 PR)

描述

Command description

Async Profiler (asprof) is a profiler for JVM apps that attaches to processes and produces profiles. It supports a few profiling modes, output formats, thread profiling, inclusion/exclusion lists for stacks, lots of other flags.

Command details

No response

Documentation

https://github.com/async-profiler/async-profiler/tree/master/docs

Platform

Common

VCS repository link (e.g. GitHub, GitLab)

https://github.com/async-profiler/async-profiler

Additional information

Three easy starter commands from my shell history matching the core command pattern:

  • Profile a process PID for N seconds: asprof -d [N] -f [filename.html] [PID]
  • Profile a process by name with wall-clock timing: asprof -f [filename.html] -e wall [Process Name] (and -e alloc for memory allocs)
  • Profile generating Flamegraph-compatible stacks: asprof -f [filename.stacked] [Process Name]

But there's a lot more in the docs that I haven't uncovered yet that would benefit from a tldr. Planning to write this myself after learning more.

貢獻者指南