跟踪程序的内存和内存perfmon 的 CPU 使用情况

发布于 2024-09-26 16:14:06 字数 649 浏览 4 评论 0原文

我试图跟踪运行 Windows Vista 的系统上的进程,我尝试在 Vista 的“可靠性和性能监视器”(perfmon) 中创建用户数据收集集。我所做的如下:

  1. 在“数据收集器集”下 - > “用户定义”->右键单击“新建”-> “数据收集器集”
  2. 在向导中我选择“手动创建”->勾选“性能计数器”->单击“添加...”按钮
  3. 选择“进程”-> “%处理器时间”(或任何其他与此相关的计数器),选择我的实例(例如,iexplore)并单击“添加>>”
  4. 确认向导的其余部分并启动该集

发生的情况是该集运行并创建一个日志文件,但是当我停止它并尝试打开该文件时,没有任何特定于实例的计数器显示,无论是在图表中还是在传说中。如果我添加一个以“_Total”为实例的计数器,我可以获得结果。 我还尝试添加特定实例的所有计数器 (\Process(iexplore)*),在这种情况下我得到了结果,但它们是针对“_Total”,而不是针对指定的实例。

一般信息:
Windows Vista 商业版 32 位
英特尔酷睿 2 双核 CPU E6550 @ 2.33Ghz
2GB RAM

如果这是问这个问题的错误地方,我深表歉意,并要求您将其移至正确的位置

提前致谢

I'm trying to track a process on system running Windows Vista, I tried creating a user Data Collection Set in Vista's "Reliability and Performance Monitor" (perfmon). What I did is the following:

  1. Under "Data Collector Sets" -> "User Defined" -> Right click and "New" -> "Data Collector Set"
  2. In the wizard I chose "Create Manually" -> Tick "Performance Counters" -> Click the "Add..." button
  3. Choose "Process" -> "% Processor Time" (Or any other counter for that matter), Choose my instance (for example, iexplore) and click "Add >>"
  4. Confirm the rest of the wizard and start the set

What happens is that the set runs and creates a log file, but when I stop it and try to open the file, none of the instance-specific counters show up, neither in the graph nor in the legend. If I add a counter with "_Total" as the instance I can get results.
I've also tried adding all counters for a specific instance (\Process(iexplore)*), in that case I got results, but they we're for "_Total", not for the specified instance.

General info:
Windows Vista Business 32-Bit
Intel Core 2 Duo CPU E6550 @ 2.33Ghz
2GB Ram

If this is the wrong place to ask this question I apologize and ask that you move it to the correct place

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梓梦 2024-10-03 16:14:06

这是一个显示错误,计数器存在,但需要手动重新添加到结果文件中。

This is a display error, counters are there but need to be re-added to the result file manually.

御弟哥哥 2024-10-03 16:14:06

我感觉您在查看结果之前没有停止数据收集器设置。在查看收集的图表之前,有必要通过右键单击并单击“停止”来停止数据收集器。

I have a feeling that you have not stopped the Data collector set prior to viewing the result.It is necessary that you stop the Data collector by right clicking and hit "Stop" before you view the collected graph.

心碎无痕… 2024-10-03 16:14:06

一个没有答案的老问题,但谷歌将我链接到这里。
我今天花了一些时间试图理解为什么我看到 _Total 结果而不是我的进程信息。答案是 - 所有进程都收集在数据收集器集中,您需要稍后在查看结果时选择/添加进程计数器。

https://serverfault.com/questions/ 633320/windows-性能监视器-无法记录所选进程的所有实例

An old question without answer, but google link me here.
I've spend some time today trying to understand why I see _Total results instead of my process info. The answer is - all processes are collected in a data collector set, and you need choose/add your process counters later when you view the result.

https://serverfault.com/questions/633320/windows-performance-monitor-fails-to-record-all-instances-of-selected-process

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文