I liked your question and this is where I am stuck as well right now. I want to know the function/request that's causing the high CPU. I haven't found this 'CPU Used' column to be useful when I see 99% CPU usage in the Machine Snapshot. If you have got a workaround for this, please let me know. Highly appreciate the help,
... View more
I have a web form application built on .NET Framework 4.0. So occasionally I get 99% CPU alert. Somewhere around the code I guess I might have an expensive loop or something that is causing this to happen. Now one cool thing that I like about appdynamics is that it shows me 99% at Machine Snapshots and I can also see the list of all Business Transactions that were involved around that time. However, this is not that helpful. How do I know, where in my code, which function is causing this to happen. In Business transactions tab, I do see a column called 'CPU used' in ms per each transaction (which can further have one or many calls/requests). So I guess this is an average. And if we calculate for all the total amount of transactions that were involved during this catastrophe, we might be able to find total percentage of the CPU consumed by a particular transaction, though I am again not sure if this will provide an actual amount of the OS CPU% consumption. But I want to know the ROOT Cause (be it function, loop, or anything) that is causing this to happen. Let me know whether we can, by using AD, pin-point to the Root problem that caused the high CPU.
... View more