[pve-devel] [PATCH] implement node netstat call to get current tap network counters

Dietmar Maurer dietmar at proxmox.com
Thu Apr 18 08:41:26 CEST 2013


> +	        $res->{$vmid}{'net'.$netid}{out} = $netdev->{$dev}->{receive};
> +	        $res->{$vmid}{'net'.$netid}{in} = $netdev->{$dev}->{transmit};

I also prefer "net$netid" instead of 'net'.$netid




More information about the pve-devel mailing list