Advertisement
MagicAndre1981

WMI Tracing

Jun 24th, 2013
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. Install the Windows Performance Toolkit (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx), open the command prompt with admin rights (http://superuser.com/questions/497252/how-to-access-the-administrator-command-prompt-in-windows-8).
  2.  
  3. Create a .cmd file with this content:
  4.  
  5. /////////
  6. Xperf -on Diag+latency -stackwalk profile -BufferSize 1024 -MaxFile 256 -FileMode Circular -f Kernel.etl
  7. xperf -start WMILogger -on WMI_Tracing+Microsoft-Windows-WMI-Activity -BufferSize 1024 -f WMI.etl
  8.  
  9. echo At this point, the test pass should be performed.
  10.  
  11. pause
  12.  
  13. pause
  14.  
  15. Xperf -stop
  16. Xperf -stop WMILogger
  17. Xperf -merge WMI.etl kernel.etl Merged.etl
  18.  
  19. del WMI.etl
  20. del kernel.etl
  21. ////////////////
  22.  
  23. anbd run the cmd file and capture 60 seconds of the WMI CPU usgae.
  24.  
  25. zip the Merged.etl as 7z/RAR (to reduce the size), upload it (Skydrive, dropbox) and paste a link here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement