Created
March 17, 2017 17:50
-
-
Save williammartin/3d217b444fc8d5f105cd2dcd6b364c18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/ | |
wget "https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz" | |
tar -zxf go1.7.1.linux-amd64.tar.gz | |
rm go1.7.1.linux-amd64.tar.gz | |
cd | |
mkdir go | |
cd go | |
mkdir src pkg bin | |
cd ../ | |
export PATH=$PATH:/usr/local/go/bin | |
export GOPATH=/root/go | |
go tool pprof -seconds=180 http://localhost:17013/debug/pprof/profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment