import{_ as h,o as c,c as i,b as a,w as t,a as o,d as _,e,r as s}from"./app.5024572d.js";const l={},u=_('

\u7528\u6237\u95EE\u9898 \uFF1A

Dashboard \u547D\u4EE4cpuUsage\u957F\u671F\u572890%\u5DE6\u53F3


\u4E13\u5BB6\u5B98\u65B9\u89E3\u7B54 \uFF1A

\u6839\u636E\u5DF2\u6709\u7684\u77E5\u8BC6\uFF0C\u9488\u5BF9\u60A8\u63D0\u5230\u7684arthas Dashboard \u547D\u4EE4\u663E\u793AcpuUsage\u957F\u671F\u572890%\u5DE6\u53F3\u7684\u95EE\u9898\uFF0C\u6211\u4EEC\u53EF\u4EE5\u5206\u6790\u5E76\u63D0\u4F9B\u76F8\u5E94\u7684\u5EFA\u8BAE\uFF1A

\u95EE\u9898\u5206\u6790

  1. \u9AD8CPU\u4F7F\u7528\u7387\u7684\u539F\u56E0\uFF1A\u4EE3\u7801\u4E2D\u4F7F\u7528ThreadMXBean.getThreadCpuTime()\u65B9\u6CD5\u6765\u76D1\u63A7\u7EBF\u7A0BCPU\u65F6\u95F4\uFF0C\u8FD9\u4E2A\u64CD\u4F5C\u672C\u8EAB\u53EF\u80FD\u4F1A\u6D88\u8017\u4E00\u5B9A\u7684CPU\u8D44\u6E90\u3002\u7279\u522B\u662F\u5728\u5904\u7406\u5927\u91CF\u7EBF\u7A0B\u7684\u573A\u666F\u4E0B\uFF0C\u9891\u7E41\u5730\u91C7\u6837\u548C\u8BA1\u7B97\u7EBF\u7A0BCPU\u65F6\u95F4\u53EF\u80FD\u5BFC\u81F4\u8F83\u9AD8\u7684CPU\u8D1F\u8F7D\u3002

\u89E3\u51B3\u7B56\u7565

\u9274\u4E8E\u4E0A\u8FF0\u5206\u6790\uFF0C\u53EF\u4EE5\u5C1D\u8BD5\u4EE5\u4E0B\u7B56\u7565\u4EE5\u964D\u4F4ECPU\u4F7F\u7528\u7387\uFF1A

  1. \u8C03\u6574\u91C7\u6837\u95F4\u9694\uFF1A\u5982\u679C\u60A8\u7684\u5E94\u7528\u73AF\u5883\u4E2D\u5B58\u5728\u5927\u91CF\u7EBF\u7A0B\uFF0C\u8003\u8651\u589E\u5927dashboard\u547D\u4EE4\u7684\u91C7\u6837\u95F4\u9694\u65F6\u95F4\u3002\u9ED8\u8BA4\u91C7\u6837\u95F4\u9694\u662F5\u79D2\uFF0C\u60A8\u53EF\u4EE5\u6839\u636E\u5B9E\u9645\u60C5\u51B5\u9002\u5F53\u589E\u52A0\u8FD9\u4E2A\u95F4\u9694\uFF0C\u4EE5\u51CF\u5C11\u76D1\u63A7\u5E26\u6765\u7684\u6027\u80FD\u5F00\u9500\u3002\u6267\u884C\u547D\u4EE4\u65F6\uFF0C\u53EF\u4EE5\u901A\u8FC7\u9644\u52A0\u53C2\u6570\u6765\u8C03\u6574\u95F4\u9694\uFF0C\u4F46\u5177\u4F53\u5982\u4F55\u64CD\u4F5C\u9700\u8981\u67E5\u9605arthas\u76F8\u5173\u6587\u6863\u6216\u547D\u4EE4\u5E2E\u52A9\u4FE1\u606F\uFF0C\u56E0\u4E3A\u76F4\u63A5\u7684\u8C03\u6574\u6B65\u9AA4\u672A\u5728\u73B0\u6709\u77E5\u8BC6\u4E2D\u660E\u786E\u7ED9\u51FA\u3002

  2. \u4F18\u5316\u76D1\u63A7\u7B56\u7565\uFF1A\u8BC4\u4F30\u662F\u5426\u6709\u5FC5\u8981\u5BF9\u6240\u6709\u7EBF\u7A0B\u8FDB\u884C\u5982\u6B64\u9AD8\u9891\u7684\u76D1\u63A7\u3002\u53EF\u4EE5\u8003\u8651\u4EC5\u9488\u5BF9\u5173\u952E\u7EBF\u7A0B\u6216\u8005CPU\u4F7F\u7528\u7387\u9AD8\u7684\u7EBF\u7A0B\u8FDB\u884C\u76D1\u63A7\uFF0C\u51CF\u5C11\u76D1\u63A7\u8303\u56F4\u548C\u9891\u7387\uFF0C\u4ECE\u800C\u51CF\u8F7B\u5BF9\u7CFB\u7EDF\u7684\u5F71\u54CD\u3002

\u89E3\u91CA\u8BF4\u660E

\u989D\u5916\u63D0\u793A

\u5982\u679C\u60A8\u9700\u8981\u66F4\u8BE6\u7EC6\u7684\u64CD\u4F5C\u6B65\u9AA4\uFF0C\u7279\u522B\u662F\u5173\u4E8E\u5982\u4F55\u5177\u4F53\u8C03\u6574dashboard\u547D\u4EE4\u7684\u91C7\u6837\u95F4\u9694\uFF0C\u5EFA\u8BAE\u67E5\u9605arthas\u7684\u5B98\u65B9\u6587\u6863\u6216\u76F4\u63A5\u5728arthas\u547D\u4EE4\u884C\u754C\u9762\u4F7F\u7528help dashboard\u547D\u4EE4\u83B7\u53D6\u5E2E\u52A9\u4FE1\u606F\u3002

\u8BF7\u6CE8\u610F\uFF0C\u4EE5\u4E0A\u5EFA\u8BAE\u57FA\u4E8E\u5F53\u524D\u63D0\u4F9B\u7684\u77E5\u8BC6\u5185\u5BB9\uFF0C\u5982\u679C\u95EE\u9898\u4F9D\u7136\u5B58\u5728\u6216\u6709\u5176\u4ED6\u5177\u4F53\u60C5\u51B5\uFF0C\u8BF7\u63D0\u4F9B\u66F4\u591A\u4E0A\u4E0B\u6587\u4FE1\u606F\u4EE5\u4FBF\u8FDB\u4E00\u6B65\u5206\u6790\u3002

',15),p=e("---------------"),f=o("h2",{id:"\u53C2\u8003\u94FE\u63A5",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#\u53C2\u8003\u94FE\u63A5","aria-hidden":"true"},"#"),e(" \u53C2\u8003\u94FE\u63A5 \uFF1A")],-1),b=e("\u547D\u4EE4\u5217\u8868"),x=e("---------------"),m={id:"\u7B54\u7591\u670D\u52A1\u8BF4\u660E",tabindex:"-1"},g=o("a",{class:"header-anchor",href:"#\u7B54\u7591\u670D\u52A1\u8BF4\u660E","aria-hidden":"true"},"#",-1),C=e(),P=e("\u7B54\u7591\u670D\u52A1\u8BF4\u660E\uFF1A"),U=e("\u672C\u5185\u5BB9\u7ECF\u7531\u6280\u672F\u4E13\u5BB6\u5BA1\u9605\u7684\u7528\u6237\u95EE\u7B54\u7684\u955C\u50CF\u751F\u6210\uFF0C\u6211\u4EEC\u63D0\u4F9B\u4E86"),k=e("\u4E13\u5BB6\u667A\u80FD\u7B54\u7591\u670D\u52A1"),F=e("\uFF0C\u5728"),B=e("\u9875\u9762\u7684\u53F3\u4E0B\u7684\u6D6E\u7A97\u201D\u4E13\u5BB6\u7B54\u7591\u201C"),E=e("\u3002\u60A8\u4E5F\u53EF\u4EE5\u8BBF\u95EE : "),I={href:"https://answer.opensource.alibaba.com/docs/intro",target:"_blank",rel:"noopener noreferrer"},L=e("\u5168\u5C40\u4E13\u5BB6\u7B54\u7591"),N=e(" \u3002 \u54A8\u8BE2\u5176\u4ED6\u4EA7\u54C1\u7684\u7684\u95EE\u9898"),O=o("h3",{id:"\u53CD\u9988",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#\u53CD\u9988","aria-hidden":"true"},"#"),e(" \u53CD\u9988")],-1),T=e("\u5982\u95EE\u7B54\u6709\u9519\u6F0F\uFF0C\u6B22\u8FCE\u70B9\uFF1A"),V={href:"https://ai.nacos.io/user/feedbackByEnhancerGradePOJOID?enhancerGradePOJOId=16079",target:"_blank",rel:"noopener noreferrer"},v=e("\u5DEE\u8BC4"),w=e("\u7ED9\u6211\u4EEC\u53CD\u9988\u3002");function y(D,G){const r=s("font"),d=s("RouterLink"),n=s("ExternalLinkIcon");return c(),i("div",null,[u,a(r,{color:"#949494"},{default:t(()=>[p]),_:1}),f,o("p",null,[a(d,{to:"/doc/commands.html"},{default:t(()=>[b]),_:1})]),a(r,{color:"#949494"},{default:t(()=>[x]),_:1}),o("h2",m,[g,C,a(r,{color:"#FF0000"},{default:t(()=>[P]),_:1})]),o("p",null,[U,a(r,{color:"#FF0000"},{default:t(()=>[k]),_:1}),F,a(r,{color:"#FF0000"},{default:t(()=>[B]),_:1}),E,o("a",I,[L,a(n)]),N]),O,o("p",null,[T,o("a",V,[v,a(n)]),w])])}const R=h(l,[["render",y],["__file","user-question-history14831.html.vue"]]);export{R as default};