【发布时间】:2019-09-03 22:59:30
【问题描述】:
我想为我的进程“MyCustomProcess.exe”获取 CPU/%Processor 时间,我在模板中添加了计数器,但在 PerfMon 数据收集器集中没有得到计数器。
Custom_PerfMon_template:
我得到 _Total % Processor Time
<Counter>\Process(_Total)\% Processor Time</Counter>
我也得到了这个值:
<CounterDisplayName>\.NET CLR Exceptions(MyCustomProcess)\# of Exceps Thrown</CounterDisplayName>
我确实没有得到这个值:
<Counter>\Process(MyCustomProcess)\% Processor Time</Counter>
如何获得“\Process(MyCustomProcess)\% Processor Time”值?
谢谢,
RDV
【问题讨论】: