第五十九章 使用 ^PERFSAMPLE 监控进程 - 收集样本
本主题介绍 ^PERFSAMPLE 实用程序,这是一种用于分析 IRIS® 数据平台流程的工具。该实用程序处理实时系统上的活动,并呈现采样活动的易于导航的细分,这可以提供对系统的洞察力。例如,可以通过检查 ECP 请求来发现应用程序瓶颈,或者通过查看等待事件的类型来识别整个系统的瓶颈。
要开始,请从感兴趣的 实例上的 命名空间运行 ^PERFSAMPLE:
USER>set $namespace = "%SYS"
%SYS>do ^PERFSAMPLE
Collecting Samples
运行后,立即显示以下消息:
This utility performs high frequency sampling of processes on the system,
analyzing and counting data points in different ways to understand where
processes are spending most of their time. On ECP Data Servers, this also
offers sampling of the current request being processed and the states of
the ECPSvrW daemons doing the processing.
1) Sample Local Process Activity
2) Sample ECP Server Requests
Option?

.png)