arthas/tutorials/katacoda/case-thread-en/arthas-demo.md

12 lines
364 B
Markdown
Raw Normal View History

Download `arthas-demo.jar` and start with the `java -jar` command:
`wget https://arthas.aliyun.com/doc/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.