how to configure xperf to collect performence data for a specified service seperately? RRS feed

  • Question

  • hi there,

    Using the common xperf command, I can get the performace data for the whole system.

    Is there any way to configure the xperf to collect the data only for a specified service?

    Thanks in advance


    Thursday, March 29, 2012 9:32 AM

All replies

  • Hi,

    you can filter the results and e.g. filter by image (name). This should allow you to build a own "focus" to one service (image).
    Please check the online help (*.chm) from the WPT for getting mote details --> search "filter".

    Best regards


    Thursday, March 29, 2012 6:02 PM
  • A nice trick is to run a service alone in svchost:

    sc config cryptsvc type= own

    to undo:

    sc config cryptsvc type= share 
    You can even copy svchost.exe to cryptsvc.exe and run that instead in the registry.  But then windows update won't touch it.

    Thursday, March 29, 2012 8:18 PM