PerfMon.ps1

PerfMon.ps1 is a powershell script for preparing an environment for Warewolf performance monitoring. To monitor Warewolf’s performance, special Windows performance counters are used. Before Warewolf uses these counters, they don’t exist. This script is for Warewolf server admins to create all these counters for performance monitoring. This script is supposed to be run before Warewolf server starts and before performance monitoring starts.

Here are some tips for Warewolf server admins to get the most out of it:

  • Download PerfMon.zip and extract PerfMon.ps1 from the “Article Attachments” below.
  • This script is also located in “C:\Program Files (x86)\Warewolf\Server” after installing or “C:\Server” in containers for versions 2.8.11+0 and above.
  • The script takes no parameters, just run to create the performance counters.
  • Verify the counters were created examples:
    • Get-Counter -ListSet “Warewolf”
    • Get-Counter -Counter “\Warewolf(*)\Concurrent requests currently executing”
    • New-Object System.Diagnostics.PerformanceCounter(“Warewolf”, “Concurrent requests currently executing”, “*”, $false)
  • Sometimes the powershell session must be closed and re-opened to see the new counters.

Warewolf performance monitoring was intended to be performed only after the Warewolf server has started. This script allows performance monitoring to start much sooner and gives piece of mind that everything is being tracked, right from the very beginning of the server start.

FacebookTwitterLinkedInGoogle+Email
Updated on February 20, 2025

Article Attachments

Was this article helpful?

Related Articles

Enjoying Warewolf?

Write a review on G2 Crowd
Stars