• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html>
2<html>
3  <head>
4    <title>quickstart_ability_monitor</title>
5    <meta charset="utf-8" />
6    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
8    <link
9      rel="stylesheet"
10      href="file:///c:\Users\Administrator\.vscode\extensions\shd101wyy.markdown-preview-enhanced-0.8.10\crossnote\dependencies\katex\katex.min.css" />
11
12    <style>
13      code[class*='language-'],
14      pre[class*='language-'] {
15        color: #333;
16        background: 0 0;
17        font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
18        text-align: left;
19        white-space: pre;
20        word-spacing: normal;
21        word-break: normal;
22        word-wrap: normal;
23        line-height: 1.4;
24        -moz-tab-size: 8;
25        -o-tab-size: 8;
26        tab-size: 8;
27        -webkit-hyphens: none;
28        -moz-hyphens: none;
29        -ms-hyphens: none;
30        hyphens: none;
31      }
32      pre[class*='language-'] {
33        padding: 0.8em;
34        overflow: auto;
35        border-radius: 3px;
36        background: #f5f5f5;
37      }
38      :not(pre) > code[class*='language-'] {
39        padding: 0.1em;
40        border-radius: 0.3em;
41        white-space: normal;
42        background: #f5f5f5;
43      }
44      .token.blockquote,
45      .token.comment {
46        color: #969896;
47      }
48      .token.cdata {
49        color: #183691;
50      }
51      .token.doctype,
52      .token.macro.property,
53      .token.punctuation,
54      .token.variable {
55        color: #333;
56      }
57      .token.builtin,
58      .token.important,
59      .token.keyword,
60      .token.operator,
61      .token.rule {
62        color: #a71d5d;
63      }
64      .token.attr-value,
65      .token.regex,
66      .token.string,
67      .token.url {
68        color: #183691;
69      }
70      .token.atrule,
71      .token.boolean,
72      .token.code,
73      .token.command,
74      .token.constant,
75      .token.entity,
76      .token.number,
77      .token.property,
78      .token.symbol {
79        color: #0086b3;
80      }
81      .token.prolog,
82      .token.selector,
83      .token.tag {
84        color: #63a35c;
85      }
86      .token.attr-name,
87      .token.class,
88      .token.class-name,
89      .token.function,
90      .token.id,
91      .token.namespace,
92      .token.pseudo-class,
93      .token.pseudo-element,
94      .token.url-reference .token.variable {
95        color: #795da3;
96      }
97      .token.entity {
98        cursor: help;
99      }
100      .token.title,
101      .token.title .token.punctuation {
102        font-weight: 700;
103        color: #1d3e81;
104      }
105      .token.list {
106        color: #ed6a43;
107      }
108      .token.inserted {
109        background-color: #eaffea;
110        color: #55a532;
111      }
112      .token.deleted {
113        background-color: #ffecec;
114        color: #bd2c00;
115      }
116      .token.bold {
117        font-weight: 700;
118      }
119      .token.italic {
120        font-style: italic;
121      }
122      .language-json .token.property {
123        color: #183691;
124      }
125      .language-markup .token.tag .token.punctuation {
126        color: #333;
127      }
128      .language-css .token.function,
129      code.language-css {
130        color: #0086b3;
131      }
132      .language-yaml .token.atrule {
133        color: #63a35c;
134      }
135      code.language-yaml {
136        color: #183691;
137      }
138      .language-ruby .token.function {
139        color: #333;
140      }
141      .language-markdown .token.url {
142        color: #795da3;
143      }
144      .language-makefile .token.symbol {
145        color: #795da3;
146      }
147      .language-makefile .token.variable {
148        color: #183691;
149      }
150      .language-makefile .token.builtin {
151        color: #0086b3;
152      }
153      .language-bash .token.keyword {
154        color: #0086b3;
155      }
156      pre[data-line] {
157        position: relative;
158        padding: 1em 0 1em 3em;
159      }
160      pre[data-line] .line-highlight-wrapper {
161        position: absolute;
162        top: 0;
163        left: 0;
164        background-color: transparent;
165        display: block;
166        width: 100%;
167      }
168      pre[data-line] .line-highlight {
169        position: absolute;
170        left: 0;
171        right: 0;
172        padding: inherit 0;
173        margin-top: 1em;
174        background: hsla(24, 20%, 50%, 0.08);
175        background: linear-gradient(to right, hsla(24, 20%, 50%, 0.1) 70%, hsla(24, 20%, 50%, 0));
176        pointer-events: none;
177        line-height: inherit;
178        white-space: pre;
179      }
180      pre[data-line] .line-highlight:before,
181      pre[data-line] .line-highlight[data-end]:after {
182        content: attr(data-start);
183        position: absolute;
184        top: 0.4em;
185        left: 0.6em;
186        min-width: 1em;
187        padding: 0 0.5em;
188        background-color: hsla(24, 20%, 50%, 0.4);
189        color: #f4f1ef;
190        font: bold 65%/1.5 sans-serif;
191        text-align: center;
192        vertical-align: 0.3em;
193        border-radius: 999px;
194        text-shadow: none;
195        box-shadow: 0 1px #fff;
196      }
197      pre[data-line] .line-highlight[data-end]:after {
198        content: attr(data-end);
199        top: auto;
200        bottom: 0.4em;
201      }
202      html body {
203        font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;
204        font-size: 16px;
205        line-height: 1.6;
206        color: #333;
207        background-color: #fff;
208        overflow: initial;
209        box-sizing: border-box;
210        word-wrap: break-word;
211      }
212      html body > :first-child {
213        margin-top: 0;
214      }
215      html body h1,
216      html body h2,
217      html body h3,
218      html body h4,
219      html body h5,
220      html body h6 {
221        line-height: 1.2;
222        margin-top: 1em;
223        margin-bottom: 16px;
224        color: #000;
225      }
226      html body h1 {
227        font-size: 2.25em;
228        font-weight: 300;
229        padding-bottom: 0.3em;
230      }
231      html body h2 {
232        font-size: 1.75em;
233        font-weight: 400;
234        padding-bottom: 0.3em;
235      }
236      html body h3 {
237        font-size: 1.5em;
238        font-weight: 500;
239      }
240      html body h4 {
241        font-size: 1.25em;
242        font-weight: 600;
243      }
244      html body h5 {
245        font-size: 1.1em;
246        font-weight: 600;
247      }
248      html body h6 {
249        font-size: 1em;
250        font-weight: 600;
251      }
252      html body h1,
253      html body h2,
254      html body h3,
255      html body h4,
256      html body h5 {
257        font-weight: 600;
258      }
259      html body h5 {
260        font-size: 1em;
261      }
262      html body h6 {
263        color: #5c5c5c;
264      }
265      html body strong {
266        color: #000;
267      }
268      html body del {
269        color: #5c5c5c;
270      }
271      html body a:not([href]) {
272        color: inherit;
273        text-decoration: none;
274      }
275      html body a {
276        color: #08c;
277        text-decoration: none;
278      }
279      html body a:hover {
280        color: #00a3f5;
281        text-decoration: none;
282      }
283      html body img {
284        max-width: 100%;
285      }
286      html body > p {
287        margin-top: 0;
288        margin-bottom: 16px;
289        word-wrap: break-word;
290      }
291      html body > ol,
292      html body > ul {
293        margin-bottom: 16px;
294      }
295      html body ol,
296      html body ul {
297        padding-left: 2em;
298      }
299      html body ol.no-list,
300      html body ul.no-list {
301        padding: 0;
302        list-style-type: none;
303      }
304      html body ol ol,
305      html body ol ul,
306      html body ul ol,
307      html body ul ul {
308        margin-top: 0;
309        margin-bottom: 0;
310      }
311      html body li {
312        margin-bottom: 0;
313      }
314      html body li.task-list-item {
315        list-style: none;
316      }
317      html body li > p {
318        margin-top: 0;
319        margin-bottom: 0;
320      }
321      html body .task-list-item-checkbox {
322        margin: 0 0.2em 0.25em -1.8em;
323        vertical-align: middle;
324      }
325      html body .task-list-item-checkbox:hover {
326        cursor: pointer;
327      }
328      html body blockquote {
329        margin: 16px 0;
330        font-size: inherit;
331        padding: 0 15px;
332        color: #5c5c5c;
333        background-color: #f0f0f0;
334        border-left: 4px solid #d6d6d6;
335      }
336      html body blockquote > :first-child {
337        margin-top: 0;
338      }
339      html body blockquote > :last-child {
340        margin-bottom: 0;
341      }
342      html body hr {
343        height: 4px;
344        margin: 32px 0;
345        background-color: #d6d6d6;
346        border: 0 none;
347      }
348      html body table {
349        margin: 10px 0 15px 0;
350        border-collapse: collapse;
351        border-spacing: 0;
352        display: block;
353        width: 100%;
354        overflow: auto;
355        word-break: normal;
356        word-break: keep-all;
357      }
358      html body table th {
359        font-weight: 700;
360        color: #000;
361      }
362      html body table td,
363      html body table th {
364        border: 1px solid #d6d6d6;
365        padding: 6px 13px;
366      }
367      html body dl {
368        padding: 0;
369      }
370      html body dl dt {
371        padding: 0;
372        margin-top: 16px;
373        font-size: 1em;
374        font-style: italic;
375        font-weight: 700;
376      }
377      html body dl dd {
378        padding: 0 16px;
379        margin-bottom: 16px;
380      }
381      html body code {
382        font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
383        font-size: 0.85em;
384        color: #000;
385        background-color: #f0f0f0;
386        border-radius: 3px;
387        padding: 0.2em 0;
388      }
389      html body code::after,
390      html body code::before {
391        letter-spacing: -0.2em;
392        content: '\00a0';
393      }
394      html body pre > code {
395        padding: 0;
396        margin: 0;
397        word-break: normal;
398        white-space: pre;
399        background: 0 0;
400        border: 0;
401      }
402      html body .highlight {
403        margin-bottom: 16px;
404      }
405      html body .highlight pre,
406      html body pre {
407        padding: 1em;
408        overflow: auto;
409        line-height: 1.45;
410        border: #d6d6d6;
411        border-radius: 3px;
412      }
413      html body .highlight pre {
414        margin-bottom: 0;
415        word-break: normal;
416      }
417      html body pre code,
418      html body pre tt {
419        display: inline;
420        max-width: initial;
421        padding: 0;
422        margin: 0;
423        overflow: initial;
424        line-height: inherit;
425        word-wrap: normal;
426        background-color: transparent;
427        border: 0;
428      }
429      html body pre code:after,
430      html body pre code:before,
431      html body pre tt:after,
432      html body pre tt:before {
433        content: normal;
434      }
435      html body blockquote,
436      html body dl,
437      html body ol,
438      html body p,
439      html body pre,
440      html body ul {
441        margin-top: 0;
442        margin-bottom: 16px;
443      }
444      html body kbd {
445        color: #000;
446        border: 1px solid #d6d6d6;
447        border-bottom: 2px solid #c7c7c7;
448        padding: 2px 4px;
449        background-color: #f0f0f0;
450        border-radius: 3px;
451      }
452      @media print {
453        html body {
454          background-color: #fff;
455        }
456        html body h1,
457        html body h2,
458        html body h3,
459        html body h4,
460        html body h5,
461        html body h6 {
462          color: #000;
463          page-break-after: avoid;
464        }
465        html body blockquote {
466          color: #5c5c5c;
467        }
468        html body pre {
469          page-break-inside: avoid;
470        }
471        html body table {
472          display: table;
473        }
474        html body img {
475          display: block;
476          max-width: 100%;
477          max-height: 100%;
478        }
479        html body code,
480        html body pre {
481          word-wrap: break-word;
482          white-space: pre;
483        }
484      }
485      .markdown-preview {
486        width: 100%;
487        height: 100%;
488        box-sizing: border-box;
489      }
490      .markdown-preview ul {
491        list-style: disc;
492      }
493      .markdown-preview ul ul {
494        list-style: circle;
495      }
496      .markdown-preview ul ul ul {
497        list-style: square;
498      }
499      .markdown-preview ol {
500        list-style: decimal;
501      }
502      .markdown-preview ol ol,
503      .markdown-preview ul ol {
504        list-style-type: lower-roman;
505      }
506      .markdown-preview ol ol ol,
507      .markdown-preview ol ul ol,
508      .markdown-preview ul ol ol,
509      .markdown-preview ul ul ol {
510        list-style-type: lower-alpha;
511      }
512      .markdown-preview .newpage,
513      .markdown-preview .pagebreak {
514        page-break-before: always;
515      }
516      .markdown-preview pre.line-numbers {
517        position: relative;
518        padding-left: 3.8em;
519        counter-reset: linenumber;
520      }
521      .markdown-preview pre.line-numbers > code {
522        position: relative;
523      }
524      .markdown-preview pre.line-numbers .line-numbers-rows {
525        position: absolute;
526        pointer-events: none;
527        top: 1em;
528        font-size: 100%;
529        left: 0;
530        width: 3em;
531        letter-spacing: -1px;
532        border-right: 1px solid #999;
533        -webkit-user-select: none;
534        -moz-user-select: none;
535        -ms-user-select: none;
536        user-select: none;
537      }
538      .markdown-preview pre.line-numbers .line-numbers-rows > span {
539        pointer-events: none;
540        display: block;
541        counter-increment: linenumber;
542      }
543      .markdown-preview pre.line-numbers .line-numbers-rows > span:before {
544        content: counter(linenumber);
545        color: #999;
546        display: block;
547        padding-right: 0.8em;
548        text-align: right;
549      }
550      .markdown-preview .mathjax-exps .MathJax_Display {
551        text-align: center !important;
552      }
553      .markdown-preview:not([data-for='preview']) .code-chunk .code-chunk-btn-group {
554        display: none;
555      }
556      .markdown-preview:not([data-for='preview']) .code-chunk .status {
557        display: none;
558      }
559      .markdown-preview:not([data-for='preview']) .code-chunk .output-div {
560        margin-bottom: 16px;
561      }
562      .markdown-preview .md-toc {
563        padding: 0;
564      }
565      .markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link {
566        display: inline;
567        padding: 0.25rem 0;
568      }
569      .markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link div,
570      .markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link p {
571        display: inline;
572      }
573      .markdown-preview .md-toc .md-toc-link-wrapper.highlighted .md-toc-link {
574        font-weight: 800;
575      }
576      .scrollbar-style::-webkit-scrollbar {
577        width: 8px;
578      }
579      .scrollbar-style::-webkit-scrollbar-track {
580        border-radius: 10px;
581        background-color: transparent;
582      }
583      .scrollbar-style::-webkit-scrollbar-thumb {
584        border-radius: 5px;
585        background-color: rgba(150, 150, 150, 0.66);
586        border: 4px solid rgba(150, 150, 150, 0.66);
587        background-clip: content-box;
588      }
589      html body[for='html-export']:not([data-presentation-mode]) {
590        position: relative;
591        width: 100%;
592        height: 100%;
593        top: 0;
594        left: 0;
595        margin: 0;
596        padding: 0;
597        overflow: auto;
598      }
599      html body[for='html-export']:not([data-presentation-mode]) .markdown-preview {
600        position: relative;
601        top: 0;
602        min-height: 100vh;
603      }
604      @media screen and (min-width: 914px) {
605        html body[for='html-export']:not([data-presentation-mode]) .markdown-preview {
606          padding: 2em calc(50% - 457px + 2em);
607        }
608      }
609      @media screen and (max-width: 914px) {
610        html body[for='html-export']:not([data-presentation-mode]) .markdown-preview {
611          padding: 2em;
612        }
613      }
614      @media screen and (max-width: 450px) {
615        html body[for='html-export']:not([data-presentation-mode]) .markdown-preview {
616          font-size: 14px !important;
617          padding: 1em;
618        }
619      }
620      @media print {
621        html body[for='html-export']:not([data-presentation-mode]) #sidebar-toc-btn {
622          display: none;
623        }
624      }
625      html body[for='html-export']:not([data-presentation-mode]) #sidebar-toc-btn {
626        position: fixed;
627        bottom: 8px;
628        left: 8px;
629        font-size: 28px;
630        cursor: pointer;
631        color: inherit;
632        z-index: 99;
633        width: 32px;
634        text-align: center;
635        opacity: 0.4;
636      }
637      html body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc] #sidebar-toc-btn {
638        opacity: 1;
639      }
640      html body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc {
641        position: fixed;
642        top: 0;
643        left: 0;
644        width: 300px;
645        height: 100%;
646        padding: 32px 0 48px 0;
647        font-size: 14px;
648        box-shadow: 0 0 4px rgba(150, 150, 150, 0.33);
649        box-sizing: border-box;
650        overflow: auto;
651        background-color: inherit;
652      }
653      html
654        body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc]
655        .md-sidebar-toc::-webkit-scrollbar {
656        width: 8px;
657      }
658      html
659        body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc]
660        .md-sidebar-toc::-webkit-scrollbar-track {
661        border-radius: 10px;
662        background-color: transparent;
663      }
664      html
665        body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc]
666        .md-sidebar-toc::-webkit-scrollbar-thumb {
667        border-radius: 5px;
668        background-color: rgba(150, 150, 150, 0.66);
669        border: 4px solid rgba(150, 150, 150, 0.66);
670        background-clip: content-box;
671      }
672      html body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc a {
673        text-decoration: none;
674      }
675      html body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc {
676        padding: 0 16px;
677      }
678      html
679        body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc]
680        .md-sidebar-toc
681        .md-toc
682        .md-toc-link-wrapper
683        .md-toc-link {
684        display: inline;
685        padding: 0.25rem 0;
686      }
687      html
688        body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc]
689        .md-sidebar-toc
690        .md-toc
691        .md-toc-link-wrapper
692        .md-toc-link
693        div,
694      html
695        body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc]
696        .md-sidebar-toc
697        .md-toc
698        .md-toc-link-wrapper
699        .md-toc-link
700        p {
701        display: inline;
702      }
703      html
704        body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc]
705        .md-sidebar-toc
706        .md-toc
707        .md-toc-link-wrapper.highlighted
708        .md-toc-link {
709        font-weight: 800;
710      }
711      html body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview {
712        left: 300px;
713        width: calc(100% - 300px);
714        padding: 2em calc(50% - 457px - 300px / 2);
715        margin: 0;
716        box-sizing: border-box;
717      }
718      @media screen and (max-width: 1274px) {
719        html body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview {
720          padding: 2em;
721        }
722      }
723      @media screen and (max-width: 450px) {
724        html body[for='html-export']:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview {
725          width: 100%;
726        }
727      }
728      html body[for='html-export']:not([data-presentation-mode]):not([html-show-sidebar-toc]) .markdown-preview {
729        left: 50%;
730        transform: translateX(-50%);
731      }
732      html body[for='html-export']:not([data-presentation-mode]):not([html-show-sidebar-toc]) .md-sidebar-toc {
733        display: none;
734      }
735      /* Please visit the URL below for more information: */
736      /*   https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */
737    </style>
738    <!-- The content below will be included at the end of the <head> element. -->
739    <script type="text/javascript">
740      document.addEventListener('DOMContentLoaded', function () {
741        // your code here
742      });
743    </script>
744  </head>
745  <body for="html-export">
746    <div class="crossnote markdown-preview">
747      <h1 id="ability-monitor-抓取和展示说明">Ability Monitor 抓取和展示说明</h1>
748      <p>抓取和展示处理的 CPU,内存,磁盘 IO 和网络使用情况统计。</p>
749      <h2 id="ability-monitor-的抓取">Ability Monitor 的抓取</h2>
750      <h3 id="ability-monitor-抓取界面配置说明">Ability Monitor 抓取界面配置说明</h3>
751      <p>
752        点击 Probes config,如选择抓取 AbilityMonitor。<br />
753        <img src="../../figures/AbilityMonitor/abilityset.jpg" alt="GitHub Logo" />
754      </p>
755      <h3 id="ability-monitor-文件的抓取">Ability Monitor 文件的抓取</h3>
756      <p>
757        点击 Record setting,在 output file path 输入文件名 hiprofiler_data_abilitymonitor.htrace,拖动滚动条设置 buffer
758        size 大小是 64M,抓取时长是 50s。<br />
759        <img src="../../figures/AbilityMonitor/abilitysetting.jpg" alt="GitHub Logo" /><br />
760        点击 Trace command,就会根据上面的配置生成抓取命令,点击复制按钮,会将命令行复制。<br />
761        <img src="../../figures/AbilityMonitor/abilitycommand.jpg" alt="GitHub Logo" /><br />
762        输入 hdc_shell,进入设备,执行命令。<br />
763        <img src="../../figures/AbilityMonitor/abilityexcutecommand.jpg" alt="GitHub Logo" /><br />
764        进入指定目录,cd /data/local/tmp 进入到目录,会看到生成的 trace 文件。<br />
765        <img src="../../figures/AbilityMonitor/abilityhtrace.jpg" alt="GitHub Logo" />
766      </p>
767      <h2 id="ability-monitor-功能介绍">Ability Monitor 功能介绍</h2>
768      <p>将抓取的文件导入到 smartperf 工具查看,能了解 CPU,内存,磁盘 IO 和网络的使用情况。</p>
769      <h3 id="ability-monitor-泳道图展示">Ability Monitor 泳道图展示</h3>
770      <p>
771        Ability Monitor 展开就可以看到泳道图,包括 CPU,内存,磁盘 IO,网络的使用情况。<br />
772        <img src="../../figures/AbilityMonitor/abilitymonitorflowchart.jpg" alt="GitHub Logo" />
773      </p>
774      <ul>
775        <li>
776          <pre class="language-text">
777CPU Total Load:总的CPU使用率。
778</pre
779          >
780        </li>
781        <li>
782          <pre class="language-text">
783CPU User Load:CPU在用户态空间运行的使用率。
784</pre
785          >
786        </li>
787        <li>
788          <pre class="language-text">
789CPU System Load:CPU在内核空间运行的使用率。
790</pre
791          >
792        </li>
793        <li>
794          <pre class="language-text">
795MemoryTotal: 总计物理内存的大小。
796</pre
797          >
798        </li>
799        <li>
800          <pre class="language-text">
801Cached:缓存的大小。
802</pre
803          >
804        </li>
805        <li>
806          <pre class="language-text">
807SwapTotal: 虚拟内存。
808</pre
809          >
810        </li>
811        <li>
812          <pre class="language-text">
813Disk Bytes Read/Sec:每秒从磁盘读取到内存的字节数。
814</pre
815          >
816        </li>
817        <li>
818          <pre class="language-text">
819Disk Bytes Written/Sec: 每秒从内存写入磁盘的字节数。
820</pre
821          >
822        </li>
823        <li>
824          <pre class="language-text">
825Disk Read Ops/Sec:读入的字节数。
826</pre
827          >
828        </li>
829        <li>
830          <pre class="language-text">
831Disk Written Ops/Sec: 写入的字节数。
832</pre
833          >
834        </li>
835        <li>
836          <pre class="language-text">
837Network Bytes In/Sec:每秒接收的网络数据字节数。
838</pre
839          >
840        </li>
841        <li>
842          <pre class="language-text">
843Network Bytes Out/Sec: 每秒发送的网络数据字节数。
844</pre
845          >
846        </li>
847        <li>
848          <pre class="language-text">
849Network Packets In/Sec:每秒接收的网络数据包数。
850</pre
851          >
852        </li>
853        <li>
854          <pre class="language-text">
855Network Packets Out/Sec: 每秒发送的网络数据包数。
856</pre
857          >
858        </li>
859      </ul>
860      <h3 id="ability-monitor-泳道图的框选功能">Ability Monitor 泳道图的框选功能</h3>
861      <p>
862        可以对 CPU,内存,磁盘 IO 和网络的数据进行框选,框选后在最下方的弹出层中会展示框选数据的统计表格,总共有六个 tab
863        页。<br />
864        Live Processes 的 Tab 页如图:<br />
865        <img src="../../figures/AbilityMonitor/liveprocess.jpg" alt="GitHub Logo" />
866      </p>
867      <ul>
868        <li>
869          <pre class="language-text">
870Process ID:进程的ID。
871</pre
872          >
873        </li>
874        <li>
875          <pre class="language-text">
876Process Name:进程名称。
877</pre
878          >
879        </li>
880        <li>
881          <pre class="language-text">
882Responsible Process:父进程ID。
883</pre
884          >
885        </li>
886        <li>
887          <pre class="language-text">
888User ID:用户ID。
889</pre
890          >
891        </li>
892        <li>
893          <pre class="language-text">
894%CPU:进程的CPU占用率。
895</pre
896          >
897        </li>
898        <li>
899          <pre class="language-text">
900CPU Time:CPU运行时间。
901</pre
902          >
903        </li>
904        <li>
905          <pre class="language-text">
906#Threads:进程的线程数量。
907</pre
908          >
909        </li>
910        <li>
911          <pre class="language-text">
912Memory:内存值。
913</pre
914          >
915        </li>
916        <li>
917          <pre class="language-text">
918Disk Writes(B):磁盘读入的字节数。
919</pre
920          >
921        </li>
922        <li>
923          <pre class="language-text">
924Disk Reads(B):磁盘写入的字节数。
925</pre
926          >
927          Processes History 的 Tab 页如图:<br />
928          <img src="../../figures/AbilityMonitor/ProcessesHistory.jpg" alt="GitHub Logo" />
929        </li>
930        <li>
931          <pre class="language-text">
932Process ID:进程ID。
933</pre
934          >
935        </li>
936        <li>
937          <pre class="language-text">
938Alive:进程是否存活。
939</pre
940          >
941        </li>
942        <li>
943          <pre class="language-text">
944First Seen:开始时间。
945</pre
946          >
947        </li>
948        <li>
949          <pre class="language-text">
950Last Seen:所选区域的结束时间。
951</pre
952          >
953        </li>
954        <li>
955          <pre class="language-text">
956Process Name:进程名称。
957</pre
958          >
959        </li>
960        <li>
961          <pre class="language-text">
962Responsible Process:父进程ID。
963</pre
964          >
965        </li>
966        <li>
967          <pre class="language-text">
968User ID:用户ID。
969</pre
970          >
971        </li>
972        <li>
973          <pre class="language-text">
974CPU Time:CPU运行时间。
975</pre
976          >
977          框选 CPU Total Load,CPU User Load,CPU System Load 三个区域的泳道图,会展示 System CPU Summary 的 Tab 页。<br />
978          <img src="../../figures/AbilityMonitor/cpusummary.jpg" alt="GitHub Logo" />
979        </li>
980        <li>
981          <pre class="language-text">
982Start Time:采集时间的时间戳。
983</pre
984          >
985        </li>
986        <li>
987          <pre class="language-text">
988Duration:前一次采集到本次采集的时间差。
989</pre
990          >
991        </li>
992        <li>
993          <pre class="language-text">
994TotalLoad%:总的CPU使用率。
995</pre
996          >
997        </li>
998        <li>
999          <pre class="language-text">
1000UserLoad%:CPU在用户态空间运行的使用率。
1001</pre
1002          >
1003        </li>
1004        <li>
1005          <pre class="language-text">
1006SystemLoad%:CPU在内核空间运行的使用率。
1007</pre
1008          >
1009        </li>
1010        <li>
1011          <pre class="language-text">
1012Process:进程号。
1013</pre
1014          >
1015          框选 MemoryTotal,Cached,SwapTota 三个区域的泳道图,会展示 System Memory Summary 的 Tab 页。<br />
1016          <img src="../../figures/AbilityMonitor/memorytab.jpg" alt="GitHub Logo" />
1017        </li>
1018        <li>
1019          <pre class="language-text">
1020Start Time:采集时间的时间戳。
1021</pre
1022          >
1023        </li>
1024        <li>
1025          <pre class="language-text">
1026Duration:前一次采集到本次采集的时间差。
1027</pre
1028          >
1029        </li>
1030        <li>
1031          <pre class="language-text">
1032MemTotal:总内存大小。
1033</pre
1034          >
1035        </li>
1036        <li>
1037          <pre class="language-text">
1038MemFree:空闲内存大小。
1039</pre
1040          >
1041        </li>
1042        <li>
1043          <pre class="language-text">
1044Buffers:文件的缓冲大小。
1045</pre
1046          >
1047        </li>
1048        <li>
1049          <pre class="language-text">
1050Cached:缓存的大小。
1051</pre
1052          >
1053        </li>
1054        <li>
1055          <pre class="language-text">
1056Shmem:已被分配的共享内存大小。
1057</pre
1058          >
1059        </li>
1060        <li>
1061          <pre class="language-text">
1062Slab:内核数据缓存大小。
1063</pre
1064          >
1065        </li>
1066        <li>
1067          <pre class="language-text">
1068SUnreclaim:不可回收的Slab大小。
1069</pre
1070          >
1071        </li>
1072        <li>
1073          <pre class="language-text">
1074Swap Toal:交换空间的总大小。
1075</pre
1076          >
1077        </li>
1078        <li>
1079          <pre class="language-text">
1080SwapFree:未被使用交换空间的大小。
1081</pre
1082          >
1083        </li>
1084        <li>
1085          <pre class="language-text">
1086Mapped:设备和文件等映射的大小。
1087</pre
1088          >
1089        </li>
1090        <li>
1091          <pre class="language-text">
1092VmallocUsed:已被使用的虚拟内存大小。
1093</pre
1094          >
1095        </li>
1096        <li>
1097          <pre class="language-text">
1098PageTables:管理内存分页的索引表大小。
1099</pre
1100          >
1101        </li>
1102        <li>
1103          <pre class="language-text">
1104KernelStack:Kernel消耗的内存。
1105</pre
1106          >
1107        </li>
1108        <li>
1109          <pre class="language-text">
1110Active: 在活跃使用中的缓冲或高速缓冲存储器页面文件的大小。
1111</pre
1112          >
1113        </li>
1114        <li>
1115          <pre class="language-text">
1116Inactive:在不经常使用中的缓冲或高速缓冲存储器页面文件的大小。
1117</pre
1118          >
1119        </li>
1120        <li>
1121          <pre class="language-text">
1122Unevictable:不能被释放的内存页。
1123</pre
1124          >
1125        </li>
1126        <li>
1127          <pre class="language-text">
1128VmallocTotal:可以vmalloc虚拟内存大小。
1129</pre
1130          >
1131        </li>
1132        <li>
1133          <pre class="language-text">
1134CmaTotal:总的连续可用内存。
1135</pre
1136          >
1137        </li>
1138        <li>
1139          <pre class="language-text">
1140CmaFree:空闲的可用内存。
1141</pre
1142          >
1143          框选 Disk Bytes Read/Sec,Disk Bytes Written/Sec,Disk Read Ops/Sec,Disk Written Ops/Sec
1144          四个区域的泳道图,会展示 System Disk Summary 的 Tab 页。<br />
1145          <img src="../../figures/AbilityMonitor/disktab.jpg" alt="GitHub Logo" />
1146        </li>
1147        <li>
1148          <pre class="language-text">
1149Start Time:采集时间的时间戳。
1150</pre
1151          >
1152        </li>
1153        <li>
1154          <pre class="language-text">
1155Duration:前一次采集到本次采集的时间差。
1156</pre
1157          >
1158        </li>
1159        <li>
1160          <pre class="language-text">
1161Data Read:从磁盘读取到内存的总字节数。
1162</pre
1163          >
1164        </li>
1165        <li>
1166          <pre class="language-text">
1167Data Read/sec:每秒从磁盘读取到内存的字节数。
1168</pre
1169          >
1170        </li>
1171        <li>
1172          <pre class="language-text">
1173Data Write:从内存写入磁盘的总字节数。
1174</pre
1175          >
1176        </li>
1177        <li>
1178          <pre class="language-text">
1179Data Write/sec:每秒从内存写入磁盘的字节数。
1180</pre
1181          >
1182        </li>
1183        <li>
1184          <pre class="language-text">
1185Reads In:读入的字节数。
1186</pre
1187          >
1188        </li>
1189        <li>
1190          <pre class="language-text">
1191Reads In/sec:每秒读入的字节数。
1192</pre
1193          >
1194        </li>
1195        <li>
1196          <pre class="language-text">
1197Write Out:写入的字节数。
1198</pre
1199          >
1200        </li>
1201        <li>
1202          <pre class="language-text">
1203Write Out/sec:每秒写入的字节数。
1204</pre
1205          >
1206          框选 Network Bytes In/Sec,Network Bytes Out/Sec,Network Packets In/Sec,Network Packets Out/Sec
1207          四个区域的泳道图,会展示 System Network Summary 的 Tab 页。<br />
1208          <img src="../../figures/AbilityMonitor/network.jpg" alt="GitHub Logo" />
1209        </li>
1210        <li>
1211          <pre class="language-text">
1212Start Time:采集时间的时间戳。
1213</pre
1214          >
1215        </li>
1216        <li>
1217          <pre class="language-text">
1218Duration:前一次采集到本次采集的时间差。
1219</pre
1220          >
1221        </li>
1222        <li>
1223          <pre class="language-text">
1224Data Received:接收的网络数据总字节数。
1225</pre
1226          >
1227        </li>
1228        <li>
1229          <pre class="language-text">
1230Data Received/sec:每秒接收的网络数据字节数。
1231</pre
1232          >
1233        </li>
1234        <li>
1235          <pre class="language-text">
1236Data Send:发送的网络数据总字节数。
1237</pre
1238          >
1239        </li>
1240        <li>
1241          <pre class="language-text">
1242Data Send/sec:每秒发送的网络数据字节数。
1243</pre
1244          >
1245        </li>
1246        <li>
1247          <pre class="language-text">
1248Packets In:接收的网络总数据包数。
1249</pre
1250          >
1251        </li>
1252        <li>
1253          <pre class="language-text">
1254Packets In/sec:每秒接收的网络数据包数。
1255</pre
1256          >
1257        </li>
1258        <li>
1259          <pre class="language-text">
1260Packets Out:发送的网络总数据包数。
1261</pre
1262          >
1263        </li>
1264        <li>
1265          <pre class="language-text">
1266Packets Out/sec:每秒发送的网络数据包数。
1267</pre
1268          >
1269        </li>
1270      </ul>
1271    </div>
1272  </body>
1273</html>
1274