ilya-manin / tmux-network-bandwidth

📊 Network bandwidth plugin for tmux
MIT License
78 stars 13 forks source link

ability to show stats only from ethernet or wlan #10

Closed kamilmirza closed 1 month ago

kamilmirza commented 4 years ago

plugin should only show stats from physical interfaces like ethernet or wlan using docker with multiple virtual interfaces and plugin shows inaccurate bandwidth

kamilmirza commented 3 years ago

well I have managed a very poor workaround for this issue modified ~/.tmux/plugins/tmux-network-bandwidth/scripts/network-bandwidth.sh line number 24 as netstat -ie | grep -A 6 XXX | awk ' where XXX = physical interface (eth0, enp5s0, wlan0, etc.) now the plugin shows correct stats 😊