tldr-pages/tldr

Page request: asprof

Open

#21.675 aberto em 23 de mar. de 2026

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Shell (2.507 forks)batch import
help wantednew command

Métricas do repositório

Stars
 (30.937 stars)
Métricas de merge de PR
 (Mesclagem média 4d 16h) (263 fundiu PRs em 30d)

Description

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.

Guia do colaborador