Hi
I wrote a stress test vor my WCF service, but the service is in the remote machine, Can I measure that windows service used process and other resources? Is there any other tool?
views:
104answers:
3I've never actually done it, but I've read about attaching a profiler to a .NET service. Here's an article that might give you some ideas:
Have you thought about using the performance monitor (perfmon.msc) to monitor various WMI events?
Essentialy you want a tool that monitors remote WMI events.
If you want integration with your stress test then Load Testing in Visual Studio 2008 provides monitoring of remote servers while executing the test (this sample chapter on load testing provides details).
If you don't want to use Visual Studio then use the built-in perfmon.msc to monitor a large variety of counters (such as cpu load, disk usage). This is probably your best option. For example if you look at the "ServiceModelService 3.0.0.0" object there are several WCF specific counters such as number of calls, calls faulted etc.
However prefmon does NOT (afaik) show you specific cpu usage per process. For this you will need a 3rd-party tool that will more specifically monitor cpu usage per process. Examples are: