arthas use record

1, xia_zai httpsalibabagithubioarthasarthasbootjar the wget
from java jar arthas-bootjar

2, 运行 java -jar arthas-boot.jar

3, select the corresponding system process id, attach to the process

4, corresponding to view the source code for the class: jad com.aistarfish.damo.web.lion.rest.elpis.ElpisUserController

5, the view corresponding to parameters and return values: watch com.aistarfish.damo.web.lion.rest.elpis.ElpisUserController getUserList "{params, returnObj}" -x 2

6, stop / shutdown off arthas

 

 

If the return value is a collection of types, data is temporarily unable to show

 

Guess you like

Origin www.cnblogs.com/yipihema/p/11968982.html