<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ## 一、概述 Arthas號稱是Java 線上問題定位處理的終極利器,它針對線上應用的診斷,提供了很多便利的措施,我們可以使用該工具來診斷排查問題; 使用 Arthas 之前,當遇到 Java 線上問題時,如 CPU 飆升、負載突高、內存溢出等問題,你需要查命令,查網絡,然后 jps、jstack、jmap、jhat、jstat、hprof 等一通操作。最終焦頭爛額,還不一定能查出問題所在。而現在,大多數的常見問題你都可以使用 Arthas 輕松定位; ## 二、快速入門 Arthas只是一個 java 程序,所以可以直接用 `java -jar` 運行。運行時或者運行之后要選擇要監測的 Java 進程; ### **安裝** ``` curl -O https://arthas.aliyun.com/arthas-boot.jar ``` ### **運行** ``` java -jar arthas-boot.jar ``` ![](https://img.kancloud.cn/18/70/18703c8b205f47262d3700c412c34879_1295x259.png) 選擇要診斷的Java進程,比如輸入2,Arthas會attach到目標進程上,并輸出日志; ![](https://img.kancloud.cn/c6/f2/c6f2bc77b603b842b1434e4addf3d785_1443x829.png) ### **查看dashboard** 輸入dashboard,按`回車`,會定時刷新展示當前進程的信息,按`ctrl+c`可以中斷執行; ![](https://img.kancloud.cn/48/c2/48c240274cdc3986e2396d8383428d43_1485x764.png) ### **退出** 如果只是退出當前的連接,可以用`quit`或者`exit`命令。Attach到目標進程上的arthas還會繼續運行,端口會保持開放,下次連接時可以直接連接上; 如果想完全退出arthas,可以執行`stop`命令; ## 三、正式使用 接下來,就能夠正常使用各種命令,來解決各種問題了; 命令清單: * [dashboard](https://arthas.aliyun.com/doc/dashboard.html) * [thread](https://arthas.aliyun.com/doc/thread.html) * [jvm](https://arthas.aliyun.com/doc/jvm.html) * [memory](https://arthas.aliyun.com/doc/memory.html) * [sysprop](https://arthas.aliyun.com/doc/sysprop.html) * [sysenv](https://arthas.aliyun.com/doc/sysenv.html) * [vmoption](https://arthas.aliyun.com/doc/vmoption.html) * [perfcounter](https://arthas.aliyun.com/doc/perfcounter.html) * [logger](https://arthas.aliyun.com/doc/logger.html) * [mbean](https://arthas.aliyun.com/doc/mbean.html) * [getstatic](https://arthas.aliyun.com/doc/getstatic.html) * [ognl](https://arthas.aliyun.com/doc/ognl.html) * [sc](https://arthas.aliyun.com/doc/sc.html) * [sm](https://arthas.aliyun.com/doc/sm.html) * [dump](https://arthas.aliyun.com/doc/dump.html) * [heapdump](https://arthas.aliyun.com/doc/heapdump.html) * [vmtool](https://arthas.aliyun.com/doc/vmtool.html) * [jad](https://arthas.aliyun.com/doc/jad.html) * [classloader](https://arthas.aliyun.com/doc/classloader.html) * [mc](https://arthas.aliyun.com/doc/mc.html) * [retransform](https://arthas.aliyun.com/doc/retransform.html) * [redefine](https://arthas.aliyun.com/doc/redefine.html) * [monitor](https://arthas.aliyun.com/doc/monitor.html) * [watch](https://arthas.aliyun.com/doc/watch.html) * [trace](https://arthas.aliyun.com/doc/trace.html) * [stack](https://arthas.aliyun.com/doc/stack.html) * [tt](https://arthas.aliyun.com/doc/tt.html) * [profiler](https://arthas.aliyun.com/doc/profiler.html) * [cat](https://arthas.aliyun.com/doc/cat.html) * [echo](https://arthas.aliyun.com/doc/echo.html) * [grep](https://arthas.aliyun.com/doc/grep.html) * [base64](https://arthas.aliyun.com/doc/base64.html) * [tee](https://arthas.aliyun.com/doc/tee.html) * [pwd](https://arthas.aliyun.com/doc/pwd.html) * [auth](https://arthas.aliyun.com/doc/auth.html) * [options](https://arthas.aliyun.com/doc/options.html) 輔助命令: * [help](https://arthas.aliyun.com/doc/help.html) * [cls](https://arthas.aliyun.com/doc/cls.html) * [session](https://arthas.aliyun.com/doc/session.html) * [reset](https://arthas.aliyun.com/doc/reset.html) * [version](https://arthas.aliyun.com/doc/version.html) * [history](https://arthas.aliyun.com/doc/history.html) * [quit](https://arthas.aliyun.com/doc/quit.html) * [stop](https://arthas.aliyun.com/doc/stop.html) * [keymap](https://arthas.aliyun.com/doc/keymap.html)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看