mirror of
https://gitee.com/arthas/arthas.git
synced 2024-11-30 11:17:39 +08:00
update memory command doc
This commit is contained in:
parent
8a954b4f28
commit
c55cb7c3ac
@ -2,6 +2,17 @@
|
||||
|
||||
查看 JVM 内存信息。
|
||||
|
||||
具体字段信息,参考:
|
||||
|
||||
* [MemoryMXBean#getHeapMemoryUsage()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryMXBean.html#getHeapMemoryUsage())
|
||||
* [MemoryMXBean#getNonHeapMemoryUsage()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryMXBean.html#getHeapMemoryUsage())
|
||||
|
||||
|
||||
具体代码:
|
||||
|
||||
* https://github.com/alibaba/arthas/blob/master/core/src/main/java/com/taobao/arthas/core/command/monitor200/MemoryCommand.java
|
||||
|
||||
|
||||
## 使用参考
|
||||
|
||||
```
|
||||
|
@ -2,6 +2,17 @@
|
||||
|
||||
View the JVM memory information.
|
||||
|
||||
|
||||
For field information, refer to:
|
||||
|
||||
* [MemoryMXBean#getHeapMemoryUsage()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryMXBean.html#getHeapMemoryUsage())
|
||||
* [MemoryMXBean#getNonHeapMemoryUsage()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryMXBean.html#getHeapMemoryUsage())
|
||||
|
||||
|
||||
Source code:
|
||||
|
||||
* https://github.com/alibaba/arthas/blob/master/core/src/main/java/com/taobao/arthas/core/command/monitor200/MemoryCommand.java
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
|
Loading…
Reference in New Issue
Block a user