第四十九章 使用 ^SystemPerformance 监视性能 - 复制配置文件

简介: 第四十九章 使用 ^SystemPerformance 监视性能 - 复制配置文件

第四十九章 使用 ^SystemPerformance 监视性能 - 复制配置文件

复制配置文件

可以使用以下 API 命令将现有配置文件复制到具有不同名称的文件:

set rc=$$copyprofile^SystemPerformance("sourceprofilename","targetprofilename")

必须指定:

  • sourceprofilename - 现有配置文件的名称
  • targetprofilename - 要创建的配置文件的名称。这必须用双引号引起来。

如果成功,该函数返回 1。如果不成功,它返回一个 0 后跟一个 carat 和任何错误的原因。

其中 sourceprofilename 是现有配置文件的名称,targetprofilename 必须是唯一的并且不能包含空格或空白字符。

例如,要复制 2minrun 配置文件,请输入以下内容:

set rc=$$copyprofile^SystemPerformance("2minrun","5minrun")

下次运行 ^SystemPerformance 实用程序时,配置文件列表包括以下配置文件名称和说明:

2minrun     A 2-minute run sampling every 30 seconds
5minrun     A 2-minute run sampling every 30 seconds

现在可以按照本指南这一部分的编辑配置文件中的说明编辑新配置文件。

删除配置文件

可以使用以下 API 命令删除现有配置文件(预定义的“测试”配置文件除外):

set rc=$$delprofile^SystemPerformance("profilename")
  • profilename - 要删除的配置文件的名称。这必须用双引号引起来。

如果成功,该函数返回 1。如果不成功,它返回一个 0 后跟一个 carat 和任何错误的原因。

例如,要删除 2minrun 配置文件,请输入以下内容:

set rc=$$delprofile^SystemPerformance("2minrun")

下次运行 ^SystemPerformance 实用程序时,配置文件列表不包括 2minrun 配置文件。

^SystemPerformance Utility 创建的性能报告

^SystemPerformance 实用程序生成特定于平台的报告,如本章所述。该报告分为几个部分,如下面的清单所示:

Configuration

IRISTEST3 on machine testsystem

Customer: InterSystems Development
License : 123456

InterSystems IRIS Version String: InterSystems IRIS for Windows (x86-32) 2018.1 (Build 508) Fri Jan 26 2018 17:51:22 EDT
--------------------------------------------------------------
Profile

Profile run "test" started at 10:07 on Jun 01 2016.
Run over 10 intervals of 30 seconds.
--------------------------------------------------------------
license

Product=Enterprise
License Type=Concurrent User
Server=Multi
Platform=Heterogeneous
Licensed Users=1000
Licensed CPUs=16
.
.
.
--------------------------------------------------------------
End of InterSystems IRIS Performance Data Report

本节中的表格描述了每个特定于平台的报告的部分。这些部分在每个表中按字母顺序列出,以帮助您更轻松地找到特定部分。仅收集一次的数据标有星号 (*)。其余数据是在整个配置文件运行过程中收集的。

注意:在以下所有表格中,标有 * 的数据每次运行收集一次。

相关文章
|
24天前
|
API
第四十八章 使用 ^SystemPerformance 监视性能 - 生成配置文件
第四十八章 使用 ^SystemPerformance 监视性能 - 生成配置文件
20 0
|
24天前
|
API
第四十七章 使用 ^SystemPerformance 监视性能 - 自定义 ^SystemPerformance 实用程序
第四十七章 使用 ^SystemPerformance 监视性能 - 自定义 ^SystemPerformance 实用程序
21 0
|
24天前
第四十六章 使用 ^SystemPerformance 监视性能 - 生成 ^SystemPerformance 性能报告
第四十六章 使用 ^SystemPerformance 监视性能 - 生成 ^SystemPerformance 性能报告
18 0
|
24天前
第四十五章 使用 ^SystemPerformance 监视性能 - Abort ^SystemPerformance
第四十五章 使用 ^SystemPerformance 监视性能 - Abort ^SystemPerformance
22 0
|
24天前
|
监控
第三十七章 使用 ^PROFILE 监控例程性能 - ^PROFILE 示例
第三十七章 使用 ^PROFILE 监控例程性能 - ^PROFILE 示例
25 0
|
24天前
|
监控
第五十八章 使用 ^BLKCOL 监视块冲突
第五十八章 使用 ^BLKCOL 监视块冲突
18 0
|
24天前
|
监控 程序员
第三十六章 使用 ^PROFILE 监控例程性能 - Using ^PROFILE
第三十六章 使用 ^PROFILE 监控例程性能 - Using ^PROFILE
20 0
|
24天前
|
消息中间件 Linux 数据库
第五十三章 使用 ^SystemPerformance 监视性能 - InterSystems IRIS Linux 平台性能数据报告
第五十三章 使用 ^SystemPerformance 监视性能 - InterSystems IRIS Linux 平台性能数据报告
22 0
|
24天前
|
监控 数据库
第三十四章 使用 ^PERFMON 监控系统性能 - Start
第三十四章 使用 ^PERFMON 监控系统性能 - Start
21 0
|
7月前
|
安全 网络安全 开发工具
如何修改/etc/security/limits.conf 一个进程能打开的最大文件数 1024 为 自己期望的数字
如何修改/etc/security/limits.conf 一个进程能打开的最大文件数 1024 为 自己期望的数字

热门文章

最新文章