任务管理器、ProcessExplorer 或类似工具:监视和管理 CLR 线程
有没有一种工具可以查看托管线程在 CLR 中运行的情况?理想情况下,我希望看到 CPU 负载、状态、托管名称和托管 id,即使线程属于线程池,或者是后台线程。它将能够对线程池、前台线程和后台线程进行分组/折叠。
动机:
我正在使用 CLR Profiler 进行开发工作。我希望 Process Explorer 能够简单易用,以便测试人员和客户支持人员可以使用它,甚至只是在后台运行。
Is there a tool out there that allows to see managed threads as they are running in CLR? Ideally, I would like to see CPU load, state, managed name, and managed id, hopefully even if the thread belongs to thread pool, or is a background thread. It would be able to have ability to group/collapse thread pools, foreground threads, and background threads.
Motivation:
I am using CLR Profiler for dev work. I was hoping for the simplicity of Process Explorer, so that it can be used by testers and customer support, even just running in the background.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
CLR Profiler 应该适用于你在寻找什么。
CLR Profiler should work for what you're looking for.
您还没有使用过性能监视器? 这是一篇关于它的不错的博客文章以及有关许多内容的一些详细信息可用于在运行时监视 .NET 的计数器的数量。
You haven't been using Performance Monitor? Here's a decent blog post about it and some details about many of the counters available for monitoring .NET during runtime.
Concurrency Visualizer 能够提供我需要的见解。
Concurrency Visualizer was able to provide the insights I needed.