I am using vnStat to monitor network bandwidth on a Debian host that has several Docker containers. Because of the containers, there are several interfaces in addition to eth0.
My question is, should I just monitor eth0 instead of looking at all the bridge and virtual interfaces to get the actual usage because at the end of the day, everything goes through eth0? Or am I looking at this wrong?
Sample output:
rx / tx / total / estimated
br-1ee235bc0b60:
2024-03 13.56 MiB / 97.42 MiB / 110.98 MiB / 391.02 GiB
today 13.56 MiB / 97.42 MiB / 110.98 MiB / 112.54 MiB
br-2ce98d77a35a:
2024-03 0 B / 0 B / 0 B / --
today 0 B / 0 B / 0 B / --
docker0:
2024-03 0 B / 0 B / 0 B / --
today 0 B / 0 B / 0 B / --
eth0:
2024-03 98.03 MiB / 15.04 MiB / 113.07 MiB / 398.37 GiB
today 98.03 MiB / 15.04 MiB / 113.07 MiB / 114.66 MiB
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0