0

I would like to know how to get CPU usage in the % of my .net app and display it in console. I know how to get the overall CPU, but I need to take only % of CPU usage of the specific app.

For sure I need

using System.Diagnostics;
Process[] processes = Process.GetProcessesByName(processName);
dummyking
  • 61
  • 1
  • 6
  • 1
    Does this answer your question? [How to get the CPU Usage in C#?](https://stackoverflow.com/questions/278071/how-to-get-the-cpu-usage-in-c) – eglease Dec 01 '21 at 20:02

0 Answers0