photo lineviral_1.png

Check Download Speed From Linux Terminal

Check network speed from terminal inward Linux  Check download speed from Linux terminalLets nation you lot are logged into a headless server (command work only) in addition to you lot become a telephone band close wearisome network functioning across network. Now of course of written report in that place powerfulness live hundreds of reasons for slowness but you lot managed to narrow it downwards to the correction betwixt your Gateway proxy in addition to Upper flow provider. So, plainly earlier you lot telephone band your Internet access provider in addition to complain close wearisome connectedness you lot necessitate to brand certain just how wearisome the connectedness is right now. Ideally, if you lot were using a Desktop Manager, you lot could just fire-up a spider web browser in addition to examine your network speed against sites similar speedtest.net, or others. But you lot are inward a headless server, no browser, no java, no flash. What to do? Well, fright not, you lot are using Linux in addition to that way you lot tin banking concern gibe download speed from Linux terminal easily. There are many unlike ways you lot tin produce it.


Option 1: Using speedtest-cli


First you lot necessitate to install python-pip package


apt-get install python-pip

Next you lot install speedtest-cli via pip.


pip install speedtest-cli

Check network speed from terminal inward Linux  Check download speed from Linux terminal


and hold upwards you lot just merely run speedtest-cli ascendancy inward your terminal


Check network speed from terminal inward Linux  Check download speed from Linux terminal


Option 2: Using wget


To purpose it just signal to a file inward network that is relatively bigger then that you lot tin become a improve guess of it.


For example


typing: wget http://hostve.com/neobuntu/pics/Ubu1.avi would initiatory of all to download the Ubu1.avi file in addition to demo at what speed it is downloading.


Check network speed from terminal inward Linux  Check download speed from Linux terminal


Of course of written report in that place are several recommendations:



  1. Speed examine yourself amongst skilful servers. In the representative of my link the speed is less than 200KB then if you lot convey a higher speed, the server volition live the bottleneck for you, non your actual speed.

  2. The highest speed you lot volition run across is the maximum speed that your connectedness in addition to the server’s connectedness tin offer. If your connectedness is 512KB in addition to the house where you lot are downloading is 400KB, your max connectedness volition live 400KB because it is the max for the server you lot are downloading from.

  3. You necessitate to produce the examine at to the lowest degree five times to convey a reliable speed banking concern gibe or at to the lowest degree produce it for a infinitesimal or two. This volition aid you lot convey a to a greater extent than accurate check.

  4. You necessitate to convey at to the lowest degree four or five unlike testing sources to convey a to a greater extent than accurate speed. Never examine exclusively from the same site every bit this tin live affected yesteryear your distance to it, whatever work inward the server in addition to the connections to it, etc. Always examine from unlike servers.


Option 3: Using aria2


This is an option to wget. The downside of wget is the lack of parallel connections. To purpose aria2 nosotros fist necessitate to download it:


apt-get install aria2

To purpose it is simple:


Check network speed from terminal inward Linux  Check download speed from Linux terminal


In the image, the -x 4 is how many parallel connections nosotros want to use. The CN parameter inward the side yesteryear side work shows how many active parallel connections were permitted to download from that site. In this representative CN is 4. But if nosotros tried to convey to a greater extent than connections nosotros would become something similar this:


Check network speed from terminal inward Linux  Check download speed from Linux terminal


We gear upwards 8 parallel connections but the site exclusively allowed a maximum of five every bit shown yesteryear CN:5. This could live solved yesteryear the -j choice which tells aria2c the maximum concurrent connections nosotros desire (Which yesteryear default is 5) but if the server has express this, -j volition non work.


 Conclusion


Check network speed from terminal inward Linux  Check download speed from Linux terminalI idea doing it from ascendancy work (no GUI = less junk) would brand my connectedness run faster. I was wrong. I did a Speedtest from GUI from the same server in addition to it gave me 65Mb/s instead of 55Mb/s. It was genuinely surprising to me. Not certain what to brand of that upshot but I volition locomote out it to the readers.


As for these 3 methods, for sure there’s many more. If you lot constitute whatever item methods useful, produce permit me know via comment section. Thanks for reading. If you’ve constitute it useful, portion RT.


Buat lebih berguna, kongsi:
close