OpenVZ Forum


Home » Mailing lists » Devel » Idle time statistics for a container
Re: Idle time statistics for a container [message #21536 is a reply to message #21530] Wed, 10 October 2007 15:35 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

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
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] Rewrite proc seq operations via seq_list_xxx ones
Next Topic: [PATCH 1/5] rtnl_unlock cleanups
Goto Forum:
  


Current Time: Mon Jul 21 01:24:22 GMT 2025

Total time taken to generate the page: 0.12639 seconds