load per cpu

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

load per cpu

跳至解决方案
1,273 次查看
niklasmolin
Senior Contributor I

Hi.

I'm using Yocto to build my linux image for a i.MX6D (2 cores).

How do I check how much load is on each core.

When I run top, it only show the total load.

Is there a way to see how much load is on each core.

Thanks,

Niklas

标签 (3)
0 项奖励
1 解答
996 次查看
dmitrypozhidaev
Contributor III

try htop

it is more humane

在原帖中查看解决方案

0 项奖励
5 回复数
997 次查看
dmitrypozhidaev
Contributor III

try htop

it is more humane

0 项奖励
996 次查看
niklasmolin
Senior Contributor I

I was considering to try this command, I haven't had any time to test it yet.

0 项奖励
996 次查看
b36401
NXP Employee
NXP Employee

Hello,

You can simply type "1" when you are running top utility
to see per core CPU load.

Have a great day,                                                                                                                                                                  
Victor                                                                                                                                                                             
                                                                                                                                                                                   
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
996 次查看
niklasmolin
Senior Contributor I

Hi Victor.

I tried "1", but nothing happens.

Could it be that it only runs on one Core?

When I do a "more /proc/cpuInfo" I can see both cores.

Thanks,

Niklas

0 项奖励
996 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Niklas

I think links below answer this

Load (computing) - Wikipedia, the free encyclopedia

How do I Find Out Linux CPU Utilization? - nixCraft

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励