mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-04 21:28:10 +08:00
20762ef304
* 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>
523 B
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