SharePoint PerfWiz Replacement

What is SharePoint Perfwiz and why do we need a replacement?

SharePoint Perfwiz was a tool used by Product Support to create performance log counters on SharePoint servers to troubleshoot performance issues. This tool has been deprecated but there is still a need to collect performance data for those pesky performance issues.

The Perfwiz tool simply used LOGMAN.exe to create a custom counter set with several selected counters specifically for SharePoint servers.

This blog will detail how to use LOGMAN.exe to mimic the baseline counter set that was created by the Perfwiz tool.

The command Line

Here is the command used to create the Baseline counter sets

SharePoint Server

SQL Sever

Switches used:

-o: The output file

-f: Sets the file to binary

-v: Adds a date / time stamp in the file name

-max: The max file size

-c: The counter list

-si: The sample interval

-cnf: 12:00:00 tells the counter to create a new file and continue when the max size has been reached or after 12 hours.

What it looks like

To run the LOGMAN.exe command, you will need an elevated command prompt to run this command.

Here is what is looks like after the counters are created:

Here is an example of the output file:

After the counters are created, they can be started with the following command:

logman start Baseline_Counters

After the problem is reproduced, stop the counters with the following command:

logman stop Baseline_Counters

However, they can be started and stopped manually as well.

Important notes and takeaways

  • If you have multiple servers, you can use the -s switch and feed in a server list, example:

  • The default action of this counter set is to run forever, you will need to stop them manually once this data is no longer needed.

Leave a Reply