Jump to content


Photo

Command line for current internet download rate.


  • Please log in to reply
11 replies to this topic

#1 TheyLive

  • Member
  • 9 posts

0
Neutral

Posted 28 July 2018 - 11:58

Hi!

 

Is there command line for show current download rate.

Ideally, I need simple one number [Mbit per second]



Re: Command line for current internet download rate. #2 mrvica

  • Senior Member
  • 1,224 posts

+81
Good

Posted 28 July 2018 - 12:29

Enigma2 Bandwith Monitor by gutemine
enigma2-plugin-extensions-bwmon_0.3_all.ipk
it shows traffic on LAN, is that download rate?

Re: Command line for current internet download rate. #3 mrvica

  • Senior Member
  • 1,224 posts

+81
Good

Posted 28 July 2018 - 12:43

cat /proc/net/dev

could be sufficient



Re: Command line for current internet download rate. #4 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 28 July 2018 - 14:19

He needs something like IDM (Internet Download Manager) in windows :D

There is no other program on the planet like IDM and it's only for windows :(

Open Vision sources: https://github.com/OpenVisionE2


Re: Command line for current internet download rate. #5 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 28 July 2018 - 14:25

Just read the file /sys/class/net/eth0/statistics/rx_bytes

In a Python plugin:

rx = int(open('/sys/class/net/eth0/statistics/rx_bytes', 'r').read().strip())

To get the rate, just set a timer and calculate it from the difference.
Real musicians never die - they just decompose

Re: Command line for current internet download rate. #6 TheyLive

  • Member
  • 9 posts

0
Neutral

Posted 28 July 2018 - 18:23

Thanks.

VTI team already use python in VNetSpeedInfo converter

 

https://github.com/O...NetSpeedInfo.py



Re: Command line for current internet download rate. #7 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 28 July 2018 - 19:19

I would not go so far as to call that Python.
Real musicians never die - they just decompose

Re: Command line for current internet download rate. #8 littlesat

  • PLi® Core member
  • 56,260 posts

+691
Excellent

Posted 29 July 2018 - 08:14

Indeed.. ;)

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Command line for current internet download rate. #9 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 11 August 2018 - 08:23

could anybody share the bwmonitor plugin?? thanks!

Re: Command line for current internet download rate. #10 mrvica

  • Senior Member
  • 1,224 posts

+81
Good

Posted 11 August 2018 - 08:30

https://forums.openp...verter-sources/



Re: Command line for current internet download rate. #11 doubledip

  • Senior Member
  • 334 posts

+7
Neutral

Posted 11 August 2018 - 09:11

Net speed test plugin

https://forums.openp...n/?hl=speedtest



Re: Command line for current internet download rate. #12 daveraver

  • Senior Member
  • 412 posts

+5
Neutral

Posted 11 August 2018 - 10:35

Thanks to both!! greetings!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users