views:

104

answers:

3

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?

+1  A: 

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

Andy White
Thanks Andy I will try it now!
ArsenMkrt
Is there a way to do without VS installing? It's for tester I don't think he will like the idea to install VS studio for that test :)
ArsenMkrt
+1  A: 

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

Kane
has it a feature to monitor only the measurements of a single service?
ArsenMkrt
Perfmon.exe can monitor a single service, a single process, or an entire machine for things like service instances running, # of requests, etc. This is definitely the way to go.
Anderson Imes
+2  A: 

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:

mundeep
Thanks for a great answer!
ArsenMkrt