[pve-devel] Count monthly traffic

Dietmar Maurer dietmar at proxmox.com
Sat Mar 9 15:04:59 CET 2013



> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Dietmar Maurer
> Sent: Samstag, 09. März 2013 14:55
> To: Alexandre DERUMIER; Stefan Priebe - Profihost AG
> Cc: pve-devel at pve.proxmox.com
> Subject: Re: [pve-devel] Count monthly traffic
> 
> >
> >         $d->{netout} += $netdev->{$dev}->{receive};
> >         $d->{netin} += $netdev->{$dev}->{transmit};
> >     }
> >
> >
> > So for the moment it's not possible.
> 
> Why is it not possible? You can simply query the rrd database?

Oh, I see - you want that for every nic?




More information about the pve-devel mailing list