How to calculate the CPU load on IMX8dx processor

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to calculate the CPU load on IMX8dx processor

167件の閲覧回数
Chandramohan_M
Contributor I

We have custom device, there we are using the imx8dx as processor, Now we have to calculate the cpu load, when we are using uptime command and top command to see the output .

$uptime command ouptut as mentioned below

up  2:55,  load average: 3.68, 3.69, 3.69

load average: 3.96, 3.69, 3.63
load average: 4.59, 4.09, 3.79
load average: 3.61, 3.79, 3.72
load average: 3.91, 3.78, 3.72
load average: 3.51, 3.63, 3.67
load average: 4.19, 3.83, 3.7

For example:

load  average for 1 min : 3.68

load  average for 5 min : 3.69

load  average for 15 min : 3.69

 

Now the question is how to calculate the CPU load on the processor ? 

for example : cpu load = load for 15 min * 100 /2 (Number of processors)

in this case cpu load = 3.69*100/2 = 184.5% , its going beyond 100%

How is it possible ? system can work about 100% ?

responses are welcome and advance thanks ..

 

タグ(3)
0 件の賞賛
返信
1 返信

147件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Is better to use command "top".

 

Regards

0 件の賞賛
返信