Question

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?

Was it helpful?

Solution

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:

OTHER TIPS

I'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:

http://msdn.microsoft.com/en-us/library/dd255414.aspx

Have you thought about using the performance monitor (perfmon.msc) to monitor various WMI events?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top