以前介绍过了arthas
这个阿里的开源Java诊断工具,实在是很是好用。这里赶忙补上了快速入门的视频。git
基本内容就是,介绍、安装、启动和几个基础命令。github
官方文档地址以下:https://alibaba.github.io/arthas/
编程
本期视频演示的具体内容以下:api
快速入门网络
因为我并无使用官方的演示Demo
,本身随手写了一个,下面是代码:工具
package com.fun import com.fun.frame.httpclient.FanLibrary import com.fun.utils.RString class sd extends FanLibrary { public static void main(String[] args) { while (true) { sleep(1000) RString.getStringWithoutNum(10) sleep(1000) String url = "https://api.apiopen.top/getAllUrl" def get = getHttpGet(url) def response = getHttpResponse(get) } testOver() } }