tmux-network-bandwidth icon indicating copy to clipboard operation
tmux-network-bandwidth copied to clipboard

ability to show stats only from ethernet or wlan

Open kamilmirza opened this issue 5 years ago • 1 comments

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

kamilmirza avatar Apr 17 '20 19:04 kamilmirza

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 😊

kamilmirza avatar Nov 07 '20 17:11 kamilmirza