我怎么可以分析在生产服务器上运行的ASP.NET应用程序? [英] How can I profile an ASP.NET application running on a production server?

查看:106
本文介绍了我怎么可以分析在生产服务器上运行的ASP.NET应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个一贯使用的是75%的ASP.NET应用程序 - CPU的100%,在生产服务器上。我怎么能分析的应用程序,以找出code的哪个部分使用了大部分CPU?我已经看过了几个不同的工具(XTE探查,EQATEC,dotTrace),但他们似乎都希望你能加载和运行他们的工具中的应用。在我看来,他们希望你能在他们的工具加载该应用程序并在本地运行测试(不生产)。我想它是在生产运行与人打它,看看什么是真正回事,而分析的应用程序。这可能吗?

I have an ASP.NET application that is consistently using 75% - 100% of the CPU on a production server. How can I profile the application to figure out what part of the code is using up the most CPU? I have looked at a couple of different tools (Xte Profiler, EQATEC, dotTrace), but they all seem to want you to load and run the application within their tool. It seems to me that they want you to load up the application in their tool and run tests locally (not in production). I want to profile the application while it is running in production with people hitting it to see what is actually going on. Is this possible?

我是一个新手到应用程序分析所以请原谅我,如果我错过了一些东西明显或我无法正常思考这个。

I am a newbie to application profiling so forgive me if I have missed something obvious or am not thinking about this correctly.

谢谢,
科瑞

推荐答案

您最好的办法是配置您自己的机器上的code,以确定它花费的时间。

Your best bet is to profile your code on your own machine to identify where it is spending time.

抓住这十天的免费试用:

Grab a ten day free trial of this:

http://www.jetbrains.com/profiler/

下面是一些链接,让你去:

Here are some links to get you going:

<一个href=\"http://blogs.msdn.com/b/alikl/archive/2009/03/06/why-my-asp-net-application-s-performance-is-less-than-optimal.aspx\" rel=\"nofollow\">http://blogs.msdn.com/b/alikl/archive/2009/03/06/why-my-asp-net-application-s-performance-is-less-than-optimal.aspx

http://msdn.microsoft.com /en-us/library/ms178643(v=VS.100).aspx

HTTP://www.$c$cproject.com/KB/ ASPNET / 10ASPNetPerformance.aspx

这篇关于我怎么可以分析在生产服务器上运行的ASP.NET应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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