arthas/tutorials/katacoda/command-mbean-en/arthas-demo.md
2020-08-06 15:42:27 +08:00

367 B

Download arthas-demo.jar and start with the java -jar command:

wget https://alibaba.github.io/arthas/arthas-demo.jar java -jar arthas-demo.jar{{execute T1}}

arthas-demo is a very simple program that randomly generates integers, performs factorization, and prints the results. If the generated random number is negative, a error message will be printed.