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

Viewed 229099

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 information about which CPU core is allowed for the process to run on.

But how do I measure a specific process' CPU usage by CPU cores?

8 Answers

htop gives a nice overview of individual core usage

Related