diff --git a/_posts/Java/Tools/2024-04-21-jmap-command.md b/_posts/Java/Tools/2024-04-21-jmap-command.md new file mode 100644 index 0000000..82ff392 --- /dev/null +++ b/_posts/Java/Tools/2024-04-21-jmap-command.md @@ -0,0 +1,19 @@ +--- +layout: post +category: [Java, 工具] +tags: [Java, jmap] +title: jmap java 进程调试工具 +--- + +## jmap 参数 + +1. `-clstats `: 打印堆内存中类加载信息的统计 +2. `finalizerinfo `:打印等待最终确定的对象的信息 +3. `-histo[:live] `: 打印堆内存中对象直方图,如果指定为:`-histolive`,则只打印存活对象的统计 +4. `-dump: `:dump 堆内存,`dump_options`,可以指定如下参数 + - `live`:仅dump活动对象;如果未指定,则dump堆中的所有对象。 + - `format=`: 以 hprof 二进制格式转储 Java 堆 + - `filename=`:将堆dump到文件名 + tips: `jmap -dump:live,format=b,file=heap.bin ` + + diff --git "a/_posts/\345\256\271\345\231\250/Docker/2024-06-04-docker-technical-architecture.md" "b/_posts/\345\256\271\345\231\250/Docker/2024-06-04-docker-technical-architecture.md" new file mode 100644 index 0000000..e1d0ce1 --- /dev/null +++ "b/_posts/\345\256\271\345\231\250/Docker/2024-06-04-docker-technical-architecture.md" @@ -0,0 +1,8 @@ +--- +title: Docker 技术架构 +layout: post +category: [容器, docker] +tags: [Docker, 容器] +--- + +![](../../../assets/posts/容器/Docker/20240604/img.png) diff --git "a/assets/posts/\345\256\271\345\231\250/Docker/20240604/img.png" "b/assets/posts/\345\256\271\345\231\250/Docker/20240604/img.png" new file mode 100644 index 0000000..df75fce Binary files /dev/null and "b/assets/posts/\345\256\271\345\231\250/Docker/20240604/img.png" differ