Skip to content

vmstat: add guest time to stat and sumstat

Christian Borntraeger requested to merge cborntra/procps:vmstatguest into master

Since Kernel 2.6.24/33 Linux knows about guest and guest nice time. That is the time that is spend in KVM guests. To handle userspace programs that do not know about this the guest time is also added to user.

Let us provide a guest time column in vmstat that collects both guest and guest nice into a gu value. The sum stat will show both seperately.

We also subtract that value from the user time as we are now aware of the guest value.

Merge request reports