Arsen Mkrtchyan
Arsen Mkrtchyan

Reputation: 50752

Tool for measuring Windows Service processes and used resources

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?

Upvotes: 0

Views: 482

Answers (3)

mundeep
mundeep

Reputation: 2747

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:

Upvotes: 2

Kane
Kane

Reputation: 16812

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

Upvotes: 1

Andy White
Andy White

Reputation: 88455

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

Upvotes: 1

Related Questions