yes, OpenVZ calculates idle statistics for VE.
it is calculated as follows:
cpu user/system time are incremented as usual on timer tick,
idle time is incremented on per-VE per-VCPU runqueue when there is no tasks
in VE runqueue.

i.e. VE idle time is the time when there were no VE tasks on the runqueue.

Srivatsa Vaddagiri wrote:
> Hi Kirill/Hertbert,
>       Does Openvz or Linux-VServer provide idle time statistics per
> container? i.e how much time a container has been idle?
> 
> Just exploring whether that be a usefull stats to provide on a
> per-control group basis.
> 

_______________________________________________
Containers mailing list
[EMAIL PROTECTED]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to