Code Monkey home page Code Monkey logo

Comments (11)

aristocratos avatar aristocratos commented on June 16, 2024

@molszews
What do you get if you run cat /sys/class/net/wlo1/statistics/tx_bytes and cat /sys/class/net/wlo1/statistics/rx_bytes ?

from btop.

molszews avatar molszews commented on June 16, 2024
cat /sys/class/net/wlo1/statistics/tx_bytes
197713440

cat /sys/class/net/wlo1/statistics/rx_bytes
3303907903

ls -la /sys/class/net/wlo1/statistics/
-r--r--r-- 1 root root 4096 wrz 30 20:01 collisions
-r--r--r-- 1 root root 4096 wrz 30 20:01 multicast
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_bytes
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_compressed
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_crc_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_dropped
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_fifo_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_frame_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_length_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_missed_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_nohandler
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_over_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 rx_packets
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_aborted_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_bytes
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_carrier_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_compressed
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_dropped
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_fifo_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_heartbeat_errors
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_packets
-r--r--r-- 1 root root 4096 wrz 30 20:01 tx_window_errors

from btop.

aristocratos avatar aristocratos commented on June 16, 2024

@molszews
Would you mind posting the output of for rx_bytesand tx_bytes for your other interfaces, unless you got loads of them.

You can try the following binary which should fix the issue, but I don't know the underlying problem yet (why I ask for more output).
btop.zip

from btop.

molszews avatar molszews commented on June 16, 2024

sorry, I've just done a reboot and it seems to work just fine now - I think we can close this ticket and reopen when I manage to reproduce it

from btop.

krzyk avatar krzyk commented on June 16, 2024

@aristocratos

I got exactly same error:

ERROR: Exception in runner thread -> Net:: -> stoul

Not sure why, I just downloaded latest release (btop-1.0.11-linux-i686.tbz) unpacked and tried ./bin/btop

from btop.

aristocratos avatar aristocratos commented on June 16, 2024

@krzyk
Try the binary linked above.

from btop.

krzyk avatar krzyk commented on June 16, 2024

@aristocratos the binary works without any issues

from btop.

aristocratos avatar aristocratos commented on June 16, 2024

@krzyk
As I asked above, would you mind posting the output from cat /sys/class/net/<interface>/statistics/tx_bytes and cat /sys/class/net/<interface>/statistics/rx_bytes

Where <interface> is all the the interfaces found in /sys/class/net

from btop.

krzyk avatar krzyk commented on June 16, 2024

for tx I get (iface + space + result of cat):

docker0 0
enp0s31f6 0
lo 63372007
teql0 0
tun0 2144740
wlp0s20f3 12062537696

for rx:

docker0 0
enp0s31f6 0
lo 63374581
teql0 0
tun0 9121744
wlp0s20f3 7567316421

from btop.

aristocratos avatar aristocratos commented on June 16, 2024

@krzyk
Thanks, everything looks okay, so not sure why it's happening.

Anyways, the fix will be in v1.0.12 later today.

from btop.

aristocratos avatar aristocratos commented on June 16, 2024

Fixed in v1.0.12

from btop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.