Is 开发者_运维技巧there a .Net equivalent or analogue for dtrace?
Not directly in the sense of a system where you can 'script' the way you can with DTrace.
However there is Event Tracing (Good intro), which combined with Performance monitoring and Powershell (Powershell and ETW ) could provide you with the information you need. It is not specific to .NET but encompasses a given .NET process (use perfmon for the .NET specific items).
Now that ASP.NET can be run on Linux compatible containers, and those linux compatible containers can be run on SmartOS instead, in effect there may be a possibility of running Dtrace to assist with debugging .NET Code or CoreCLR code at least. In fact this has now been done: https://www.joyent.com/blog/running-and-debugging-coreclr-on-triton
Yes there are Windbg and also perfmon
精彩评论