How do I measure separate CPU core usage for a process?

前端 未结 8 1721
故里飘歌
故里飘歌 2021-01-29 18:45

Is there any way to measure a specific process CPU usage by cores?

I know top is good for measuring the whole system\'s CPU usage by cores and taskset can provide inform

8条回答
  •  野性不改
    2021-01-29 19:03

    You can still do this in top. While top is running, press '1' on your keyboard, it will then show CPU usage per core.

    Limit the processes shown by having that specific process run under a specific user account and use Type 'u' to limit to that user

提交回复
热议问题