On Fri, Jul 18, 2008 at 01:41:34PM +0400, Evgeniy Sokolov wrote:
> >On Thu, Jul 17, 2008 at 03:04:46PM +0400, Evgeniy Sokolov wrote:
> >>OpenVZ calculate statistics and allow to get them .
> >>Added function for getting cpu usage of container.
> >
> >Modular some minor comments, ACK for this patch
On Thu, Jul 17, 2008 at 03:04:46PM +0400, Evgeniy Sokolov wrote:
OpenVZ calculate statistics and allow to get them .
Added function for getting cpu usage of container.
Modular some minor comments, ACK for this patch.
+if (!openvzIsActiveVM(vm)) {
+info->cpuTime = 0;
+} else {
On Thu, Jul 17, 2008 at 03:04:46PM +0400, Evgeniy Sokolov wrote:
> OpenVZ calculate statistics and allow to get them .
> Added function for getting cpu usage of container.
Modular some minor comments, ACK for this patch.
> +if (!openvzIsActiveVM(vm)) {
> +info->cpuTime = 0;
> +}
OpenVZ calculate statistics and allow to get them .
Added function for getting cpu usage of container.
Index: src/openvz_driver.c
===
RCS file: /data/cvs/libvirt/src/openvz_driver.c,v
retrieving revision 1.31
diff -u -p -r1.31 openvz_