UiPath Documentation
activities
latest
false
IT 自动化活动
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

解释触发事件结果

根据为监控选择的性能类型和选项,`.csv 文件返回的 JSON 字符串。

根据所选的监控性能类型和选项, .result 方法返回的 JSON 字符串包含以下信息:

对于 CPU 性能类型

  • ComputerID - the name of machine that logged the trigger event.
  • reportCollectedDateTime - the local time stamp of the beginning of monitoring (that is, when the performance activity started running).
  • ComputerDuration - the amount of time it took for the trigger to execute (that is, how much time has passed since the monitoring started and until performance thresholds were exceeded).
  • PercentValue - the CPU value logged at trigger execution time, for the selected application (that is, what was the CPU value when the trigger executed).
  • Process - an array displaying information about the monitored application. If you are monitoring the entire system, the array displays information on all processes consuming more than 0.01% of the monitored resource:
    • ProcessName - the name of the corresponding process (that is, the application name as found in Windows Task Manager > Details tab)
    • ApplicationName - the name of the application (that is, the application name as found in Windows Task Manager > Apps)
    • PercentValue - the CPU value logged at the moment of displaying the result, which may be different from the value that caused the trigger to execute.

对于内存性能类型

  • ComputerID - the name of machine that logged the trigger event.
  • reportCollectedDateTime - the local time stamp of the beginning of monitoring (that is, when the performance activity started running).
  • ComputerDuration - the amount of time it took for the trigger to execute (that is, how much time has passed since the monitoring started and until performance thresholds were exceeded).
  • PercentValue - the memory percentage logged at trigger execution time, for the selected application (that is, what was the memory percentage value when the trigger executed).
  • Process - an array displaying information about the monitored application. If you are monitoring the entire system, the array displays information on the top ten consuming processes:
    • ProcessName - the name of the corresponding process (that is, the application name as found in Windows Task Manager > Details tab)
    • ApplicationName - the name of the application (that is, the application name as found in Windows Task Manager > Apps)
    • PercentValue - the memory percentage used by the application, logged at the moment of displaying the result, which may be different from the value that caused the trigger to execute.
    • MemoryValue - the memory value in MB logged at the moment of displaying the result.

对于磁盘性能类型

  • ComputerID - the name of machine that logged the trigger event.
  • reportCollectedDateTime - the local time stamp of the beginning of monitoring (that is, when the performance activity started running).
  • ComputerDuration - the amount of time it took for the trigger to execute (that is, how much time has passed since the monitoring started and until performance thresholds were exceeded).
  • PercentValue - the disk percentage logged at trigger execution time, for the selected application (that is, what was the disk percentage value when the trigger executed).
  • Process - an array displaying information about the monitored application. If you are monitoring the entire system, the array displays information on the top ten consuming processes:
    • ProcessName - the name of the corresponding process (that is, the application name as found in Windows Task Manager > Details tab)
    • ApplicationName - the name of the application (that is, the application name as found in Windows Task Manager > Apps)
    • PercentValue - the disk percentage used by the application, logged at the moment of displaying the result, which may be different from the value that caused the trigger to execute.

对于网络性能类型

  • ComputerID - the name of machine that logged the trigger event.
  • reportCollectedDateTime - the local time stamp of the beginning of monitoring (that is, when the performance activity started running).
  • ComputerDuration - the amount of time it took for the trigger to execute (that is, how much time has passed since the monitoring started and until performance thresholds were exceeded).
  • 百分比值- 在触发器执行时记录的所选应用程序的网络百分比(即执行触发器时的网络百分比值)。
  • Process - an array displaying information about the monitored application. If you are monitoring the entire system, the array displays information on the top ten consuming processes:
    • ProcessName - the name of the corresponding process (that is, the application name as found in Windows Task Manager > Details tab)
    • ApplicationName - the name of the application (that is, the application name as found in Windows Task Manager > Apps)
    • 值百分比- 应用程序使用的网络百分比,在显示结果时记录,该值可能与导致执行触发器的值不同。
    • 网络值- 在显示结果时记录的网络值(以位/秒为单位)。

对于子流程

For trigger events with the Include child processes option selected, the JSON string includes an additional array for each Process item. The Child Process array contains the following information:

  • PID - the process identification number, as shown in the Windows Task Manager > Details tab.
  • ProcessValue - the value of the child process, as follows:
    • CPU - 十进制值形式的子进程百分比(即百分比值除以 100);
    • “内存” - 显示结果时记录的子进程内存值 (MB);
    • “磁盘” - 系统磁盘输入/输出操作的总值(以字节为单位)。 此值对于所有子流程都相同。
  • 流程百分比- 子流程使用的百分比。例如,某父流程有两个子流程,其“百分比”值为 3.5%。其中一个子流程的“流程百分比”值为 2.0%,而第二个子流程的“流程百分比”值为 1.5%,两者之和即为父流程使用百分比。
  • Title - the name of the child process, as displayed in the UI, if available.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新