wardi / speedometer

Chart network TX/RX and file download rates on the console
http://excess.org/speedometer/
GNU Lesser General Public License v2.1
217 stars 53 forks source link

Autodetect network interfaces if no taps were specified #19

Closed rfjakob closed 2 years ago

rfjakob commented 4 years ago

That was my only grief with speedometer compared to tools like iftop: Having to find out the network device name beforehand.

This patch changes that: if no taps are specified on the command line, go through /proc/net/dev, filter out the interesting devices, and use those (both RX and TX for each).