how do monitor svchost service performance RRS feed

  • Question

  • I have a svchost service, it has run same group with other service, for example, svchost.exe -k Dcomlaunch, the Dcomlaunch have three service, Dcomalunch,power and my service. 

    i search the winapi, there have some pdhxxxx and some perfxxxx i found. i known use pdhaddcounter, path (process(svchost.exe))/processer ... monitor process's performance, but it can not good. i wanna only monitor my service use pdh. have some method? or other thinkings.

    i found vmware add self counter into the perfmon, how is it make, anybody knowns?

    Thursday, August 31, 2017 2:45 AM