Open
Description
I would find it very useful to monitor interfaces in a specific network name space. For example if I have multiple containers, I could run vnstat (may need to be as root) on the host and monitor traffic inside the container(s). For example from host command line I can run ip netns exec <netns> cat /sys/class/net/eth0/statistics/rx_bytes
etc.
So, if vnstat could accept a network namespace along with the interface name that would be cool...
--iface eth0 --netns <netns>
Thanks!