Created
April 25, 2022 13:43
-
-
Save vilinski/1b0b623d8eac481bed815a97f017e54a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/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