Commits
Vasily Tarasov authored and Pavel Emelianov committed 1adc425c1c6
[PATCH] Fix iowait stats in VE0 2.6.18 OVZ kernels don't account iowait time, this value is always displayed as zero: $ cat /proc/stat | grep cpu cpu 1700 5 1818 11790110 0 60 204 0 cpu0 893 4 1020 5894818 0 56 174 0 cpu1 807 1 797 5895291 0 4 29 0 This happens since calculations usually happen in idle context. Actually there is no good definition of iowait for global VE0 context. And the whole iowait concept is arguable, but still, let's try to account as good as possible. http://bugzilla.openvz.org/show_bug.cgi?id=588