首先wget https://alibaba.github.io/arthas/arthas-boot.jar
然后 java -jar arthas-boot.jar
然后选择 要监控哪个程序 序号
查看入参 返回结果
watch com.hnradio.cmspublish.controller.IndexController channelIndex params
查看耗时
watch com.hnradio.cmspublish.controller.IndexController channelIndex returnObj
trace com.hnradio.cmspublish.controller.IndexController channelIndex
查看异常
watch com.hnradio.cmspublish.controller.IndexController channelIndex throwExp