arthas/tutorials/katacoda/command-jvm-cn/jvm.md
Hollow Man 20762ef304
Arthas jvm 命令教程 (#1329)
* add jvm command scenario. #847

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>

* add jvm scenario doc links. #847

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>

* fix links

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>

* switch to use arthas-demo

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>

* update to fit the latest situation

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>

* add examples to use jvm

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>

* update to fit the 3.3.7 situation

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>

* update to fit the 3.3.7

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>
2020-07-23 18:05:57 +08:00

523 B

jvm{{execute T2}} 命令可以查看当前JVM信息。

查找Java应用的classpath

jvm | grep PATH{{execute T2}}

[arthas@41064]$ jvm | grep PATH
 CLASS-PATH                             packaging/target/arthas-bin/arthas-demo.jar
 BOOT-CLASS-PATH                        /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/lib/resources.jar:/Librar
 LIBRARY-PATH                           /Users/gongdewei/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extens