generated from cotes2020/chirpy-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 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,19 @@ | ||
--- | ||
layout: post | ||
category: [Java, 工具] | ||
tags: [Java, jmap] | ||
title: jmap java 进程调试工具 | ||
--- | ||
|
||
## jmap 参数 | ||
|
||
1. `-clstats <pid>`: 打印堆内存中类加载信息的统计 | ||
2. `finalizerinfo <pid>`:打印等待最终确定的对象的信息 | ||
3. `-histo[:live] <pid>`: 打印堆内存中对象直方图,如果指定为:`-histolive`,则只打印存活对象的统计 | ||
4. `-dump:<dump_options> <pid>`:dump 堆内存,`dump_options`,可以指定如下参数 | ||
- `live`:仅dump活动对象;如果未指定,则dump堆中的所有对象。 | ||
- `format=<b>`: 以 hprof 二进制格式转储 Java 堆 | ||
- `filename=<filename>`:将堆dump到文件名 | ||
tips: `jmap -dump:live,format=b,file=heap.bin <pid>` | ||
|
||
|
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,8 @@ | ||
--- | ||
title: Docker 技术架构 | ||
layout: post | ||
category: [容器, docker] | ||
tags: [Docker, 容器] | ||
--- | ||
|
||
![](../../../assets/posts/容器/Docker/20240604/img.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.