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 (3)

  1. Dan Bomgardner says:

    Thanks, but i keep getting an error saying:

    Error:
    Duplicate items are not allowed.

  2. Dan Bomgardner says:

    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 Dat
    a Provider for SqlServer(*)\*” ”\SharePoint Publishing Cache(*)\*” ”\Web Service(*)\*” ”\Web Service Cache\*” ”\SharePoi
    nt Search Archival Plugin(*)\*” ”\SharePoint Search Gatherer\*” ”\SharePoint Search Gatherer Project(*)\*” ”\SharePoint
    Search Indexer Catalogs(*)\*” ”\SharePoint Search Schema Plugin(*)\* “ -si 00:00:03

    1. Hey Dan

      Thank you very much I have updated the blog.

      Chris

Skip to main content