Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

view multi-core or mlti-cpu utlization on linux

I have a program running on Linux and I need to determine how it is utilizing all the CPUs/cores. Is there any program for viewing this information?

like image 637
user678070 Avatar asked May 05 '11 14:05

user678070


People also ask

How do you check CPU utilization of individual cores?

While top is running, press '1' on your keyboard, it will then show CPU usage per core. You can also press I to toggle Irix mode (as opposed to Solaris mode). When on , the percentage displayed in the process list is relative to a CPU thread.


2 Answers

Run the 'top' command and press '1' to see the individual cores.

like image 181
Reto Aebersold Avatar answered Sep 26 '22 09:09

Reto Aebersold


When runnging the top command, press f then j to display the P column (last CPU used by process), in addition to the 1 command in top, you should view some multi core occupation informations :)

like image 38
Cédric Julien Avatar answered Sep 25 '22 09:09

Cédric Julien