Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)
closed by

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

I know the top is good for measuring the entire system's CPU usage by cores and taskset can provide the information about which CPU core is allowed for this process to run on.

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

closed with the note: It is a duplicate question

1 Answer

0 votes
by (36.8k points)

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

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

Want to be a Linux expert? Come and join this Linux course

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...