apt-get update
apt-get install wget -y
wget https://aka.ms/dotnet-dump/linux-x64 -O dotnet-dump
chmod +x dotnet-dump
./dotnet-dump ps
π Note: Identify the PID (process ID) of the target process from the output.
./dotnet-dump collect --process-id <PID> -o myapp.dmp
Replace <PID>
with the actual process ID from the previous step.
wget https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar.gz
tar -xvf azcopy.tar.gz
ls
π Note: Locate the extracted folder name. It should be something like
azcopy_linux_amd64_10.28.1
.
./azcopy_linux_amd64_10.28.1/azcopy copy myapp.dmp "{SAS_URL}"
Replace {SAS_URL}
with your actual SAS URL.