C# – Get CPU and RAM usage for each process in C# using WMI

ccpu-usageprocesswmi

How to get CPU and RAM usage for each process in C# using WMI ? I want to do something like windows Task Manager just simpler.

Best regards.

EDIT:

OK, after some testing I found few isues:
1. Process class from System.Diagnostic has to many limitations when dealing with remote system
2. WMI to remote computer is very slow, about 15 sec to connect

What are my other options ?

Related Topic