Skip to content

Instantly share code, notes, and snippets.

@vilinski
Created April 25, 2022 13:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save vilinski/1b0b623d8eac481bed815a97f017e54a to your computer and use it in GitHub Desktop.
Save vilinski/1b0b623d8eac481bed815a97f017e54a to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
TOOLS=/tools
echo "download dotnet diagnostic tools"
mkdir "$TOOLS"
chmod 777 $TOOLS
cd "$TOOLS"
tools="dump gcdump source stack trace counters monitor sos"
for t in $tools; do wget -O $TOOLS/dotnet-$t https://aka.ms/dotnet-$t/linux-musl-x64; done;
chmod +x $TOOLS/dotnet-*
wget https://aka.ms/perfcollect
chmod +x $TOOLS/perfcollect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment