logman-cnf选项不适用于我. [英] logman - cnf option is not working for me.

查看:153
本文介绍了logman-cnf选项不适用于我.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows XP或Server 2003上,我运行以下命令来创建计数器日志:

logman创建计数器MyFirstPerfLog -o"c:\ myScripts \ WindowsPerformance \ MyFirstPerfLog.bl g" -v mmddhhmm -rf 24:00:00 -cnf
-cf c:\ myScripts \ WindowsPerformance \ counters.txt"

创建计数器没有任何问题.但是,当我查看此计数器的
属性时,即使选择该选项,开始新的日志文件" ,
在日志文件关闭时"下已启用,未选中.我也尝试过以下方法的
以下方法:

-cnf 00:00:00

如果有人可以指出,我将不胜感激我的错误!

感谢

On Windows XP or Server 2003, I run the following command to create a counter log:

logman create counter MyFirstPerfLog -o "c:\myScripts\WindowsPerformance\MyFirstPerfLog.bl g" -v mmddhhmm -rf 24:00:00 -cnf
-cf c:\myScripts\WindowsPerformance\counters.txt"

The counter is created without any problem. But when I look at the
properties of this counter, even though the option, "start a new log file",
under "when a log file closes" is enabled, it is not checked. I've tried the
following variation of the above as well:

-cnf 00:00:00

I'd appreciate it if somebody could point out my error!

Thanks

推荐答案

我们通常使用"-cnf"带有"-max"转变.例如,如果文件大小达到x MB,则创建一个新文件.并且,您是否尝试过"-cnf 0&"? ?
We usually use "-cnf" with "-max" switch. e.g., create a new file if the file size reaches x MB.  And, have you tried "-cnf 0" ?


这篇关于logman-cnf选项不适用于我.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆