Windows Performance Recorder(wpr)命令教程,其中包含用于记录性能指标的示例

Performance is important factor for server management. In Windows family operating system we can use wpr tool to save and monitor performance metrics. wpr means Windows Performance Reporting. This tools can save the specified topic performance metrics.

性能是服务器管理的重要因素。 在Windows家族操作系统中,我们可以使用wpr工具来保存和监视性能指标。 wpr表示Windows性能报告。 该工具可以保存指定的主题性能指标。

句法 (Syntax)

The syntax of wpr command is like below.

wpr命令的语法如下。

wpr OPTIONS

列出绩效概况 (List Performance Profiles)

A regular server consist of different hardware and operating system components. We can get report about these components by specifying their metric.There are different type of performance profiles those have get metrics of specific components. We can list those profiles with -profiles option.

常规服务器由不同的硬件和操作系统组件组成。 我们可以通过指定这些组件的指标来获取有关这些组件的报告。有不同类型的性能配置文件可以获取特定组件的指标。 我们可以使用-profiles选项列出这些配置文件。

> wpr -profiles
List Performance Profiles
List Performance Profiles
列出绩效概况

开始演奏记录(Start Performance Recording)

In order to get performance information we should start a profile. This will save performance metrics of given profile. We will use -start option. In this example we will start recording of Network performance metrics.

为了获得性能信息,我们应该启动一个配置文件。 这将保存给定配置文件的性能指标。 我们将使用-start选项。 在此示例中,我们将开始记录Network性能指标。

> wpr -start NETWORK

停止表演记录 (Stop Performance Recording)

In order to analyse metrics we should stop and save the recorded metrics. We can use -stop to stop and save recorded metrics. In this example we stop NETWORK profile metrics.

为了分析指标,我们应该停止并保存记录的指标。 我们可以使用-stop停止并保存记录的指标。 在此示例中,我们停止NETWORK配置文件指标。

> wpr -stop NETWORK

取消演奏记录 (Cancel Performance Recording)

If we do not need currently running profile metrics we should simply cancel it. We will use -cancel option. In this example we cancel the recording of NETWORK profile.

如果我们不需要当前正在运行的配置文件指标,则只需取消它即可。 我们将使用-cancel选项。 在此示例中,我们取消了NETWORK配置文件的记录。

> wpr -cancel NETWORK

状态绩效记录 (Status Performance Recording)

We can not run multiple recording of same profile. We can check given profile recording status whether it is running or not with -status option. In this example we check the status of NETWORK profile.

我们不能运行同一个人资料的多个记录。 我们可以使用-status选项检查给定的概要文件记录状态是否正在运行。 在此示例中,我们检查NETWORK配置文件的状态。

> wpr -status NETWORK

列出个人资料详细信息 (List Profile Details)

If we want to get more information about the profiles what kind of metrics they will record we can use -profiledetails option. In this example we will get profile details of NETWORK profile.

如果要获取有关概要文件的更多信息,它们将记录哪种度量标准,可以使用-profiledetails选项。 在此示例中,我们将获得NETWORK配置文件的配置文件详细信息。

> wpr -profiledetails NETWORK
LEARN MORE  What Is ROM (Read Only Memory)?
了解更多什么是ROM(只读存储器)?

翻译自: https://www.poftut.com/windows-performance-recorder-wpr-command-tutorial-with-examples-to-record-performance-metrics/

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值