Allow selection of network interface to monitor
hi,
it's been 5 years that users have been asking(*) for a way to ignore traffic on virtual interfaces so that this app works correctly with:
- VMs
- containers
- VPNs
- TOR
- etc...
the request has so far been ignored.
here i propose a solution that side-steps the issue of detecting which interfaces to count and which not to:
- just let the user select the interface to monitor from a drop-down box.
- the drop-down should include an
all interfaces
setting, which should be the default and reproduce the current behavior. - the setting should be persistent and fall back to all if the preciously selected interface is cannot be found now.
thanks!
(*) see: #220, #218 (moved), #73.
PS. this is relevant for virtual interface detection: libgtop#63