0

in taskmanager process tab ,I can see a lot of processes and it's pid ,cpu usage enter image description here

I want to get a process's cpuusage,may be a process have multi-pids,so I wish it can list all this pids cpuusage?

for example in this picture,I want to list process conhost.exe cpu usage, it has 8 pids,so I hope it can list 8 cpu usages

How to write this code using C#?

And is there have some cmd command to list process,pid,cpu usage??

elsonwx
  • 1,431
  • 3
  • 16
  • 26

0 Answers0