core icon indicating copy to clipboard operation
core copied to clipboard

Throughput widget non-functional on RJ-45<->Switch/Hub links

Open rodsantiago opened this issue 8 years ago • 3 comments

RJ-45<->switch/hub links throughput widget remain fixed at 0 bps.

rodsantiago avatar Sep 17 '16 00:09 rodsantiago

I'm having this issue with links between two switches VirtualBox_Test-vm_core_30_04_2021_16_52_16

LXanders1 avatar Apr 30 '21 14:04 LXanders1

I think we only supported layer 3 nodes with the Throughput Widget, so routers, servers, PCs, etc. but not hubs/switches.

In the Tcl/Tk code, getstats_link_ifname() looks for "NETWORK" nodes on either side of a link. If the node is a "LINK" type (the hub/switch node) it is skipped. This function would need to be fixed to get the proper interface name mapping. The widget periodically reads /proc/net/dev for stats.

GUI development is now focused on the Python/Tk GUI. So I wouldn't expect a fix to the old GUI, unless you are willing to update the code and submit a PR.

siliconja avatar Apr 30 '21 15:04 siliconja

I just checked the Python GUI and it has the same issue. The Python GUI doesn't even display a throughput label VirtualBox_Test-vm_core_04_05_2021_11_25_30

LXanders1 avatar May 04 '21 09:05 LXanders1