How do I compute the total cpu load in percentage for the period of 10 seconds using
pmFetch? I am trying to do the computation as below
(kernel.all.cpu.sys + kernel.all.cpu.user) / (1000 * 10secs) * 100
and it always give me value above 100 which is not as per my expectation.
- Red Hat Enterprise Linux (RHEL) 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.