Share via


SharePoint Tidbit - Better way to setup Perfmon tracing

Hello All,

Was working with a platform PFE and he provided me with the script that he uses to have customers setup/start/stop perfmon, I thought it was great so did some digging and found a blog that detailed the formatting to use for SharePoint counters.

Here is the script I sent to my customer:

Logman.exe create counter PerfLog-Short -o “c:\perflogs\PerfLog-Short.blg” -f bincirc -v mmddhhmm -max 500 -c “\LogicalDisk(*)\*” “\Memory\*” “\Cache\*” “\Network Interface(*)\*” “\Netlogon(*)\*” “\Paging File(*)\*” “\PhysicalDisk(*)\*” “\Processor(*)\*” “\Processor Information(*)\*” “\Process(*)\*” “\Thread(*)\*” “\Redirector\*” “\Server\*” “\System\*” “\Server Work Queues(*)\*” “\Terminal Services\*” “\ASP.NET(*)\*” ”\ASP.NET v2.0.50727\*” ”\ASP.NET Apps v2.0.50727(*)\*” ”\.NET CLR Networking(*)\*” ”\.NET CLR Memory(*)\*” ”\.NET CLR Exception(*)\*” ”\.NET CLR Loading(*)\*” ”\.NET Data Provider for SqlServer(*)\*” ”\SharePoint Publishing Cache(*)\*” ”\Web Service(*)\*” ”\Web Service Cache\*” ”\SharePoint Search Archival Plugin(*)\*” ”\SharePoint Search Gatherer\*” ”\SharePoint Search Gatherer Project(*)\*” ”\SharePointSearch Indexer Catalogs(*)\*” ”\SharePoint Search Schema Plugin(*)\* “ -si 00:00:03

Here is the blog that I used (Thank you)

https://blogs.technet.microsoft.com/rgullick/2014/01/10/sharepoint-performance-monitoring/

Pax

NOTE: Corrected command thank you Dan Bomgardner

Comments

  • Anonymous
    August 05, 2016
    Thanks, but i keep getting an error saying: Error:Duplicate items are not allowed.
  • Anonymous
    August 05, 2016
    Got rid of the duplicates and it's now running: Logman.exe create counter PerfLog-Short -o “c:\perflogs\PerfLog-Short.blg” -f bincirc -v mmddhhmm -max 500 -c “\LogicalDisk()*” “\Memory*” “\Cache*” “\Network Interface()*” “\Netlogon()*” “\Paging File()*” “\PhysicalDisk()*” “\Processor()*” “\Processor Information()*” “\Process()*” “\Thread()*” “\Redirector*” “\Server*” “\System*” “\Server Work Queues()*” “\Terminal Services*” “\ASP.NET()*” ”\ASP.NET v2.0.50727*” ”\ASP.NET Apps v2.0.50727()*” ”.NET CLR Networking()*” ”.NET CLR Memory()*” ”.NET CLR Exception()*” ”.NET CLR Loading()*” ”.NET Data Provider for SqlServer()*” ”\SharePoint Publishing Cache()*” ”\Web Service()*” ”\Web Service Cache*” ”\SharePoint Search Archival Plugin()*” ”\SharePoint Search Gatherer*” ”\SharePoint Search Gatherer Project()*” ”\SharePointSearch Indexer Catalogs()*” ”\SharePoint Search Schema Plugin(*)* “ -si 00:00:03
    • Anonymous
      August 19, 2016
      Hey DanThank you very much I have updated the blog.Chris