I'm running a squeeze DomU on xen 4.0.1 which is completely unloaded. I notice a difference in cpu states between iostat and top like:
top (in every iter):
Cpu0 : 0.2%us, 2.0%sy, 0.0%ni, 94.2%id, 2.7%wa, 0.0%hi, 0.0%si, 0.9%st
iostat -x 3 (first iter):
avg-cpu: %user %nice %system %iowait %steal %idle 0.19 0.00 1.98 2.69 0.88 94.26
iostat -x 3 (subsequent iters):
avg-cpu: %user %nice %system %iowait %steal %idle 0.00 0.00 0.00 0.00 0.00 100.00
Am I right if I assume that top is showing me the cumulated precentages rather than the diff between now and now-1 iteration? I know that top understands for cumulative mode but this is off for me and should only affect process display, not cpu state statistics.
Bug? Maybe Xen related?