Skip to content

Instantly share code, notes, and snippets.

@bpot
Created February 28, 2023 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bpot/6440a003c40a89c9fb15ff0289a40171 to your computer and use it in GitHub Desktop.
Save bpot/6440a003c40a89c9fb15ff0289a40171 to your computer and use it in GitHub Desktop.
curl http://localhost:6060/debug/pprof/goroutine?debug=2 | tee goroutine.txt | grep -A3 goroutine | grep ":" | sort | uniq -c | sort -rn | head
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment