Back

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

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

I know top is good for measuring a 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 the specific process' CPU usage by the CPU cores?

1 Answer

0 votes
by (36.8k points)

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

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

Come and join Linux training to gain great knowledge. 

Related questions

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

Browse Categories

...