mac下使用async-profiler

查看java进程:jps
660
83327 Launcher
85676 ApacheJMeter.jar
83921 Bootstrap
85998 Jps

#### Flame Graph visualization
## Collect CPU profiling with svg format with duration
./profiler.sh -d 30 -f /tmp/flamegraph.svg 83921
## open svg with browser
## Control start/stop yourself
./profiler.sh start -f /tmp/flamegraph.svg 83921
./profiler.sh stop -f /tmp/flamegraph.svg 83921
 
 

posted on 2021-04-29 16:26  大油蛙  阅读(159)  评论(0编辑  收藏  举报

导航