Skip to content

Instantly share code, notes, and snippets.

@regme
Last active July 9, 2021 13:03
Show Gist options
  • Save regme/d5acafef8905f581043e27e24cdf45e8 to your computer and use it in GitHub Desktop.
Save regme/d5acafef8905f581043e27e24cdf45e8 to your computer and use it in GitHub Desktop.
dotnet-counters monitor
apt-get update && \
apt install wget apt-transport-https -y && \
wget https://packages.microsoft.com/config/ubuntu/20.10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
dpkg -i packages-microsoft-prod.deb && \
apt-get update && \
apt-get install -y dotnet-sdk-5.0 && \
dotnet tool install --global dotnet-counters && \
/root/.dotnet/tools/dotnet-counters monitor --process-id 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment