以前介紹過了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() } }