-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs add install_dotmemory_in_container.md file
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
```shell | ||
#install | ||
docker exec -it aef2acae87dd /bin/bash | ||
cd / | ||
mkdir dotmemory | ||
cd dotmemory | ||
mkdir bin | ||
cd bin | ||
apt-get update -y | ||
apt-get install -y wget | ||
wget -O dotMemoryclt.zip https://www.nuget.org/api/v2/package/JetBrains.dotMemory.Console.linux-x64/2021.3.2 | ||
apt-get install -y unzip && unzip dotMemoryclt.zip -d ./dotMemoryclt | ||
chmod +x -R dotMemoryclt/* | ||
|
||
#collecting | ||
apt-get update && apt-get install procps | ||
ps aux | ||
|
||
cd /dotmemory/bin/dotMemoryclt/tools | ||
./dotMemory.sh get-snapshot 1 --save-to-dir=Snapshots | ||
exit | ||
|
||
#move dump file | ||
docker cp aef2acae87dd:/dotmemory/bin/dotMemoryclt/tools/Snapshots/[1]-dotnet.2023-05-19T22-54-53.166.dmw /dotmemory.dmw | ||
|
||
|
||
|
||
|
||
``` | ||
|