Automate creation of Performance Monitor Data Collector on an EC2 instance or a WorkSpace

Do you sometimes notice high CPU or memory usage on your EC2 instances or WorkSpaces? Do you know what’s causing it? For how long and how frequently?

It’s easy to find a rogue process in Task Manager and stop it, but is it a part of the pattern?

Enter a century-old tool -> Performance Monitor.

Sometimes, the rogue process is an application or a service which spikes at random times for random intervals. In such cases, we need to set up a Data Collector in the Performance Monitor and use it to track resource usage over a period of time. Logs are then replayed and root cause identified.

Continue Reading