Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to show stats only from ethernet or wlan #10

Closed
kamilmirza opened this issue Apr 17, 2020 · 1 comment
Closed

ability to show stats only from ethernet or wlan #10

kamilmirza opened this issue Apr 17, 2020 · 1 comment

Comments

@kamilmirza
Copy link

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

@kamilmirza
Copy link
Author

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 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant