简体   繁体   English

最好在VBScript中访问Windows(XP)性能计数器

[英]Accessing Windows (XP) performance counters preferably in VBScript

I'm testing a web application for browser memory leaks using Quick Test Professional (QTP) 9.5 and Internet Explorer 6. PerfMon works for monitoring the memory usage over time, but its data has to be synchronized to the testing results to find out which steps trigger the browser memory leak. 我正在使用Quick Test Professional(QTP)9.5和Internet Explorer 6测试Web应用程序的浏览器内存泄漏。PerfMon可以监视一段时间内的内存使用情况,但是必须将其数据同步到测试结果以找出哪些步骤。触发浏览器内存泄漏。 Since QTP's scripting language is VBScript, how can I get particular performance counters (in this case the "Private Bytes" in process "IExplore.exe")? 由于QTP的脚本语言是VBScript,我如何获得特定的性能计数器(在这种情况下,进程“ IExplore.exe”中的“专用字节”)?

Don't Panic: You Can Use Scripts to Monitor Performance . 不要惊慌:您可以使用脚本来监视性能 Sorry about the previous line. 对不起,前一行。 This is the name of the article. 这是文章的名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM