go-torch安装和使用

go-torch安装

1、安装FlameGraph脚本

git clone https://github.com/brendangregg/FlameGraph.git
cp FlameGraph/flamegraph.pl /usr/local/bin

2、安装go-torch

go get -v github.com/uber/go-torch

 

go-torch使用

go-torch -u http://10.11.209.102:911 -t 30

用浏览器打开torch.svg

 

posted @ 2019-07-03 15:57  shhnwangjian  阅读(5019)  评论(0编辑  收藏  举报