我试图使用logman监视单个进程的句柄计数。我可以监视可能不同的计数器,但似乎无法使进程计数器过滤到单一进程,我正在寻找。这是我们的日志人命令
logman create counter BASELINE -f bincirc -max 2000 -si 15 -o "d:\temp\logman" -cf "d:\temp\counters.txt"
logman start BASELINE这是counters.txt文件
"\Memory\Available MBytes"
"\Memory\Pool Nonpaged Bytes"
"\Memory\Pool Paged Bytes"
"\Process(*)\Handle Count"
"\Process(*)\Thread Count"
"\Process(WaWorkerHost)\Handle Count"
"\Process(WaWorkerHost)\Thread Count"我已经在一个普通和管理命令提示符中运行了这个命令。我得到我的内存计数器,但只有所有进程的句柄计数器出现。
发布于 2017-04-14 17:18:11
在写这篇文章的时候,我又试了一件事。如果您删除了Process(*)选项,那么它将只为WaWorkerHost进程收集线程和句柄计数。此计数器文件工作正常。
"\Memory\Available MBytes"
"\Memory\Pool Nonpaged Bytes"
"\Memory\Pool Paged Bytes"
"\Process(WaWorkerHost)\Handle Count"
"\Process(WaWorkerHost)\Thread Count"https://serverfault.com/questions/844561
复制相似问题