Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Network rate values are doubled with vpn #61

Closed
EmanonUser opened this issue Sep 28, 2018 · 1 comment
Closed

Network rate values are doubled with vpn #61

EmanonUser opened this issue Sep 28, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@EmanonUser
Copy link

  • The output of uname -a:
    Linux MoeManjaro 4.19.0-1-MANJARO Increase height of sparkline to match widget height #1 SMP PREEMPT Thu Sep 20 19:27:32 UTC 2018 x86_64 GNU/Linux

  • Any relevenat hardware info:
    None

  • Terminal shell (like zsh or bash):
    zch

  • Terminal emulator (like iTerm or gnome terminal):
    urxvt

  • tmux version if using tmux:
    Nop

In network usage , my Tx/s and Rx/s values are doubled, i'm using a vpn and wifi tun0 and wlp3s0.

2018-09-28-180654_1920x1080_scrot

@cjbassi cjbassi added bug Something isn't working dep:gopsutil labels Sep 29, 2018
@cjbassi
Copy link
Owner

cjbassi commented Oct 6, 2018

I think this is because gotop sums up the network activity across all the network interfaces. It looks like the usage stats of wlp3s0 + tun0 equals what's outputed by gotop. So we probably just need to hardcode some rules about ignoring vpn interfaces like tun0 from the network stats.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants