Process information using the service name

I created this because the need arose to collect process information for some windows services. Using the process ID alone wouldn’t work because it would change any time the service was restarted and in order to collect enough data for trending purposes, I needed to find a different approach.

This will get performance metrics for any given service without relying on a static process ID.

As you can see, you can also get different values to suit your needs.

Leave a Reply