Theoretically yes, but a VPN route the connection over several layers, so the result might not be accurate. Yes Simon, this command would do the job to provide an indicator of current performance, though I suggest using the test I would love if the results could be then be emailed out..
How to Run Speed Test from the Command Line to Check Internet Connection Speed
Is it possible to have this on a script that is activated every 24 hours and then sends out an email with the results? Skip to content.
Is this article useful? Yes No. The Complete Beginner's Guide to Ubuntu Linux for Beginners. Comments Facebook Tweet.
Sep 13, at am. Sep 22, at pm. Sep 23, at pm. Sep 23, at am. Lane Lester. Paul asks: John and Dave frequently discuss home networking and wireless speeds.
How to Improve WiFi Speed?
How do you measure the bandwidth, or speed, of a wireless router? In order to measure the performance of a network, you need at least two devices: one to send data and the other to receive it. Online speed tests like SpeedTest. For most users, this means using a PC or Mac on your home network as a server, and then testing the bandwidth between that server and another device also on your home network.
A great utility to test bandwidth between two devices is Iperf , a free tool that you install on at least two computers, designating one of them as the server and the second as the client. Iperf then sends data directly between the two computers, revealing the maximum speed of the wired or wireless network connecting them.
Iperf natively runs as a command line utility in Terminal, and the best way to get it is via Homebrew , the open source packet management system. Once Homebrew installation is complete, all you need to do to get Iperf is use the following command:.
Test Internet Speed from Command Line on Windows, Mac and Linux
The latest version of Iperf3 will be downloaded and installed automatically. This, of course, is just a small example of what Homebrew can do. Go to or otherwise obtain a second Mac and repeat the steps above to install Homebrew and Iperf. Also, you'll need to move back and forth between your two Macs.
Subscribe to RSS
Head to your first Mac and designate it as a server by entering the following command in Terminal. When prompted by OS X, allow Iperf to accept incoming network connections.
This Mac is now listening for an incoming client with which to test. Now designate the second Mac a client by using this command in Terminal:. Remember, mega bits are different from mega bytes ; 1 megabyte MB is equal to 8 megabits Mb.