Activity Monitor Instrument

活动监测仪器Activity Monitor Instrument

Overview

 

Instrument Description

The Activity Monitor instrument captures information about the load on the system measured against the virtual memory size. It can record information from a single process or from all processes running on the system.

Supported Platforms

iOS

OS X

Related Profiling Templates

Activity Monitor Profiling Template

Timeline Pane

时间轴窗格根据仪器的配置显示以下列表中显示的信息。totalvmsize,cputotalload,cpuuserload,和cpusystemload默认显示。在“检查”窗格中的“记录设置”区域中启用其他统计信息。The timeline pane displays the information shown in the following list, based on the instrument’s configuration. TotalVMSizeCPUTotalLoadCPUUserLoad, and CPUSystemLoad are displayed by default. You enable additional statistics in the record settings area in the inspector pane.

 

Statistic name

Definition

SampleNumber

The number of the sample taken.

TotalThreads

The total number of threads.

PhysicalMemoryWired

The amount of memory used by the operating system.

PhysicalMemoryActive

The amount of memory currently used by processes.

PhysicalMemoryInactive

The amount of memory that was recently released.

PhysicalMemoryUsed

The total amount of memory that was used during the sample.

PhysicalMemoryFree

The amount of memory available for use.

TotalVMSize

The total size of the virtual memory.

VMPageInBytes

The amount of memory calls to RAM.

VmPageOutBytes

The amount of memory sent to the hard drive.

VMSwapUsed

The amount of memory called from the hard drive.

NetPacketsIn

The total number of network packets received.

NetBytesIn

The total number of network bytes received.

NetPacketsOut

The total number of network packets sent.

NetBytesOut

The number of bytes sent each second.

NetPacketsInPerSecond

The number of packets received each second.

NetPacketsOutPerSecond

The number of packets sent each second.

NetBytesInPerSecond

The number of bytes received each second.

NetBytesOutPerSecond

The number of bytes sent each second.

DiskReadOps

Total number of disk read operations.

DiskBytesRead

Total number of bytes read.

DiskWriteOps

Total number of disk write operations.

DiskBytesWritten

The number of bytes written each second.

DiskReadOpsPerSecond

The number of read operations each second.

DiskWriteOpsPerSecond

The number of write operations each second.

DiskBytesReadPerSecond

The number of bytes read each second.

DiskBytesWrittenPerSecond

The number of bytes written each second.

CPUTotalLoad

Percentage of the total load on the device during the sample.

CPUUserLoad

Percentage of the load caused by the user during the sample.

CPUSystemLoad

Percentage of the load caused by the operating system during the sample.

CPUNiceLoad

Percentage of the load caused by processes with a priority different from their normal priority.

Record Settings

单击记录设置”按钮在检查面板自定义以下记录选项。Click the Record Settings button (image: ../Art/instruments_recordsettings_button_inline_2x.png) in the inspector pane to customize the following recording options.

采样率Sampling Rate

设定仪器记录信息的频率。滑块允许在1 /第十的第二到1秒的第二增量1 /第十采样。文本字段允许其他1 /第十增量。默认值是秒的1 /第十。Set how often the instrument records information. The slider allows sampling from 1/10th of a second to 1 second in 1/10th of a second increments. The text field allows for other 1/10th increments. The default value is 1/10th of a second.

系统统计System Statistics

选择一个统计看它绘制在跟踪窗格。单击形状或颜色,以改变统计数据的表示方式。Select a statistic to see it graphed in the track pane. Click the shape or the color well to change how a statistic is represented.

选择统计列表Select statistics to list

选择您希望在系统统计设置区域中显示的统计信息,其中可以启用或禁用跟踪窗格中的可见性。Select the statistics you want displayed in the System Statistics settings area, where their visibility in the track pane may be enabled or disabled.

显示设置Display Settings

单击“显示设置”按钮在检查面板自定义下面的显示设置。Click the Display Settings button (image: ../Art/instruments_displaysettings_button_inline_2x.png) in the inspector pane to customize the following display settings.

跟踪显示设置Track Display Settings

这些设置控制在时间线窗格中显示信息的方式。These settings control how information is displayed in the timeline pane.

 

Setting

Description

Options

Style

How information is presented.

  • Block Graph: Information is presented as a horizontal line until the information changes. The area under the line is filled by the statistic’s designated color.

  • Peak Graph: Maximum value for the information is displayed. Lines are in the statistic’s designated color.

跟踪过程的细节Process Detail Tracking

选择是否在“详细”窗格中显示最新值,或基于跟踪窗格中的检查头的位置来显示值。选项包括“轨道检查头”和“显示最新”,这是默认值。Choose whether to display the most recent values in the detail pane, or values based on the position of the inspection head in the track pane. Options include “Track inspection head” and “Display latest,” which is the default.

过程寿命滤波Process Life Span Filtering

选择是否为所有进程显示值,或者只显示已创建并正在运行的进程。选项包括“创建的和仍然存在的”,这是默认的和“所有进程”。Choose whether to display values for all processes, or only those that were created and are still running. Options include “Created & still living,” which is the default, and “All processes.”

亲子轮廓Parent Child Outline

选择是否将父节点大纲中的节点保留在扩展窗格中。默认情况是不保留节点扩展。Choose whether to keep the nodes in the Parent Child outline in the detail pane expanded. The default is to not keep nodes expanded.

细节窗格中的列Detail Pane Columns

摘要详细类型Summary Detail Type

下面的摘要列可在详细窗格中找到。The following summary columns are available in the detail pane.

 

Column name

Definition

Process ID

The process identifier.

Process Name

The name of the process.

User Name

The name of the user calling the process.

% CPU

The percentage of the CPU used by the process.

Threads

The number of threads used by the process.

Real Mem

The amount of real memory used by the process.

Virtual Mem

The amount of virtual memory used by the process.

Architecture

The device architecture.

CPU Time

The total CPU time used by the process.

Sudden Term

Whether or not the process was suddenly terminated.

父类明细类型Parent Child Detail Type

下面的父列在详细窗格中可用。The following parent child columns are available in the detail pane.

 

Column name

Definition

Process ID

The process identifier.

Process Name

The name of the process.

User Name

The name of the user calling the process.

% CPU

The percentage of the CPU used by the process.

Threads

The number of threads used by the process.

Real Mem

The amount of real memory used by the process.

Virtual Mem

The amount of virtual memory used by the process.

Architecture

The device architecture.

CPU Time

The total CPU time used by the process.

Sudden Term

Whether or not the process was suddenly terminated.

样品的具体类型Samples Detail Type

下面的示例列可在详细窗格中找到。The following samples columns are available in the detail pane.

 

Column name

Definition

#

The number of the sample taken.

Total Threads

The total number of threads active during the sample.

Physical Memory Wired

The amount of memory used by the operating system.

Physical Memory Active

The amount of memory currently used by processes.

Physical Memory Inactive

The amount of memory that was recently released.

Physical Memory Used

The total amount of memory that was used during the sample.

Physical Memory Free

The amount of memory available for use.

VM Size

The total size of the virtual memory.

Page Ins

The amount of memory calls to RAM.

Page Outs

The amount of memory sent to the hard drive.

Swap Used

The amount of memory called from the hard drive.

Net Packets In

The total number of network packets received.

Net Bytes In

The total number of network bytes received.

Net Packets Out

The total number of network packets sent.

Net Bytes Out

The total number of network bytes sent.

Net Packets In Per Second

The number of packets received each second.

Net Packets Out Per Second

The number of packets sent each second.

Net Bytes In Per Second

The number of bytes received each second.

Net Bytes Out Per Second

The number of bytes sent each second.

Disk Read Ops

Total number of disk read operations.

Disk Bytes Read

Total number of bytes read.

Disk Write Ops

Total number of disk write operations.

Disk Bytes Written

Total number of bytes written.

Disk Read Ops Per Second

The number of read operations each second.

Disk Write Ops Per Second

The number of write operations each second.

Disk Bytes Read Per Second

The number of bytes read each second.

Disk Bytes Written Per Second

The number of bytes written each second.

% Total Load

Percentage of the total load on the device during the sample.

% User Load

Percentage of the load caused by the user during the sample.

% System Load

Percentage of the load caused by the operating system.

% Nice Load

Percentage of the load caused by processes with a priority different from their normal priority.

原文地址:https://www.cnblogs.com/zyingn/p/Activity_Monitor_Instrument.html