本文介绍了从.bat或.cmd文件终止perfmon监视会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想监视命令脚本的性能,但是我不知道需要多长时间.是否有perfmon的命令行界面,在脚本或bat文件的末尾,我可以发出perfmon命令来关闭当前 活动的监视日志会话(不知道其编号)?

I would like to monitor the performance of a command script, but I don't know how long it will take.  Is there a command-line interface to perfmon where, at the end of the script or bat file, I can issue a perfmon command to shut down the currently active monitoring log session (without knowing its number)?

如果是这样,在哪里记录?

And if so, where is this documented?

 

谢谢,
Ted

thanks,
Ted

推荐答案

Logman停止< perflog的名称>

Logman stop <Name of perflog>

 

Bruce Adamczak

Bruce Adamczak

 


这篇关于从.bat或.cmd文件终止perfmon监视会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 09:09