wrong cpu utilization

Started by no-smoke, September 19, 2013, 12:56:38 PM

Previous topic - Next topic

no-smoke

Hello,
i installed the netxms agent on two linux servers (Ubuntu Server 12.04 LTS) and on both servers the netxms agent gives a wrong number of cpu in the system an a wrong cpu utilization. Everytime there is one missing cpu and the cpu utilization is too high. When the server shell with the command top says there is cpu utilization of 10% netxms still says 51%. During hours the utilization changes a bit, but everytime arround 50% and wrong.

How can I resolve the problem.
The load is of the cpu is correct.

Victor Kirhenshtein

Hi!

Please post content of /proc/stat from problematic node.

Best regards,
Victor

no-smoke

first server:
Quote
cpu  1026606 8 198230 441807130 70584096 64 14060 308720 0 0
cpu0 495213 8 134691 18669413 65977064 64 12964 287045 0 0
cpu1 128898 0 17362 83457101 1923509 0 419 8101 0 0
cpu2 136748 0 15727 84885789 662664 0 239 3993 0 0
cpu3 102590 0 10198 85116582 503543 0 140 2765 0 0
cpu4 70700 0 8183 85192788 448281 0 142 2514 0 0
cpu5 92455 0 12067 84485453 1069034 0 154 4300 0 0
second server: 
Quotecpu  42257555 35389 10786380 1312876350 84493531 3376 631887 4912089 0 0
cpu0 31891962 13559 7707064 605618692 77825343 3366 610288 3974912 0 0
cpu1 10365593 21829 3079315 707257657 6668187 10 21599 937177 0 0
intr 1508588085 83 9 0 0 0 0 2 0 1 0 3645170 32 142 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 278184297 0 3784 0 631303286 4612 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 4828239194
btime 1372329089
processes 4256224
procs_running 1
procs_blocked 2
softirq 1356631060 0 262718774 1937 697845356 0 0 3 91990467 567851 303506672

Victor Kirhenshtein

Hi!

I've found a bug in CPU usage calculation code. Fix will be included in 1.2.9 release.

Best regards,
Victor