Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rogeralsing/1630c773b00ceb30b256e0fbadfa0565 to your computer and use it in GitHub Desktop.
Save rogeralsing/1630c773b00ceb30b256e0fbadfa0565 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