mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 20:28:05 +08:00
11 lines
340 B
Markdown
11 lines
340 B
Markdown
|
|
||
|
|
||
|
|
||
|
|
||
|
下载`arthas-demo.jar`,再用`java -jar`命令启动:
|
||
|
|
||
|
`wget https://alibaba.github.io/arthas/arthas-demo.jar
|
||
|
java -jar arthas-demo.jar`{{execute T1}}
|
||
|
|
||
|
`arthas-demo`是一个很简单的程序,它随机生成整数,再执行因式分解,把结果打印出来。如果生成的随机数是负数,则会打印提示信息。
|