Re: [pve-devel] [PATCH] lxc : vmstatus : add disk read|write stats

2015-06-21 Thread Michael Rasmussen
On Sun, 21 Jun 2015 13:06:27 +0200 Alexandre Derumier aderum...@odiso.com wrote: + my ($key, $value) = $byte =~ /(Read|Write) (\d+)/; I think this would be more secure: my ($key, $value) = $byte =~ /(Read|Write)\s+(\d+)/; -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys:

Re: [pve-devel] [PATCH] lxc : vmstatus : add disk read|write stats

2015-06-21 Thread Dietmar Maurer
applied, with small improvement requested by mir (just to be safe). ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] lxc : vmstatus : add disk read|write stats

2015-06-21 Thread Alexandre Derumier
using cgroup blkio.throttle.io_service_bytes They are also another cgroup blkio.io_service_bytes, but it's only work with cfq io scheduler. blkio.throttle.io_service_bytes works with any io scheduler Signed-off-by: Alexandre Derumier aderum...@odiso.com --- src/PVE/LXC.pm | 8 1 file