Reputation: 2282
I am using .NET console application to gather performance data of the system. For one of the counter i am using query as below:
SELECT CurrentConnections, ConnectionAttemptsPersec
FROM Win32_PerfFormattedData_W3SVC_WebService
This query return four Management objects for my system.
Does Win32_PerfFormattedData_W3SVC_WebService
return data per processor core? I have four core processor in my system. If not what is wrong with the query?
Upvotes: 0
Views: 575
Reputation: 108995
This query return four Management objects for my system.
So you have four web sites configured in IIS?
(Looking at Perf Mon's Web Service object – which I believe is the same counter object – I see three instances: _Total
, web-site-1
and web-site-2
(plus <All instances>
of course).
Checking the Name
property as well should help to distinguish them.
Upvotes: 1