Get statistics from all network interfaces on a system, including those inside network namespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I hope this is the right list to post this question.

Currently, we are using a patched version of bwm-ng to poll statistics
of network interfaces. Some of these interfaces are located inside
network namespaces, unfortunately we have found no way to poll all
interfaces from all netspaces at once, without making our client
application process traverse through all the available network
namespaces (one result is this patch for bwm-ng:
https://github.com/jgjl/bwm-ng/tree/lxns).
Is there a more efficient way (for example by using netlink directly)
to get a complete list of the statistics of all network interfaces
existing in the kernel e.g. tagged by their netns?

Any pointers are appreciated :)

Best

Jeremias
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers




[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux