On a heavily loaded database server, I am getting vastly different output from top
and iostat
for cpu usage. Why might the value be different?
top:
%Cpu(s): 84.7 us, 11.8 sy, 0.3 ni, 2.4 id, 0.6 wa, 0.0 hi, 0.2 si, 0.1 st
iostat
avg-cpu: %user %nice %system %iowait %steal %idle
19.78 0.17 2.51 1.10 0.03 76.42
Note that iostat
is reporting significant idle percentage and top
is not.