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
 
 
我的网站作品,欢迎光顾指点 老海湾 老苗圃
原文地址:https://www.cnblogs.com/james6176/p/14718517.html