Difference between revisions of "Ipref"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: 53 down vote accepted I use iperf. It's a client server arrangement in that you run it in server mode at one end and connect to its from another computer on the other side of the netwo...) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
I use iperf. It's a client server arrangement in that you run it in server mode at one end and connect to its from another computer on the other side of the network. | I use iperf. It's a client server arrangement in that you run it in server mode at one end and connect to its from another computer on the other side of the network. | ||
One both machines run: | One both machines run: | ||
− | sudo apt-get install iperf | + | sudo apt-get install iperf |
Then on Computer A: | Then on Computer A: | ||
− | iperf -s | + | iperf -s |
And on Computer B: | And on Computer B: | ||
− | iperf -c <address of Computer A> | + | iperf -c <address of Computer A> |
On the client machine, you'll see something like this: | On the client machine, you'll see something like this: | ||
− | oli@bert:~$ iperf -c tim | + | oli@bert:~$ iperf -c tim |
− | ------------------------------------------------------------ | + | ------------------------------------------------------------ |
− | Client connecting to tim, TCP port 5001 | + | Client connecting to tim, TCP port 5001 |
− | TCP window size: 16.0 KByte (default) | + | TCP window size: 16.0 KByte (default) |
− | ------------------------------------------------------------ | + | ------------------------------------------------------------ |
− | [ 3] local 192.168.0.4 port 37248 connected with 192.168.0.5 port 5001 | + | [ 3] local 192.168.0.4 port 37248 connected with 192.168.0.5 port 5001 |
− | [ ID] Interval Transfer Bandwidth | + | [ ID] Interval Transfer Bandwidth |
− | [ 3] 0.0-10.0 sec 1.04 GBytes 893 Mbits/sec | + | [ 3] 0.0-10.0 sec 1.04 GBytes 893 Mbits/sec |
Of course, if you're running a firewall on the server machine, you'll need to allow connections on port 5001 or change the port with the -p flag. | Of course, if you're running a firewall on the server machine, you'll need to allow connections on port 5001 or change the port with the -p flag. |
Revision as of 06:43, 4 June 2015
I use iperf. It's a client server arrangement in that you run it in server mode at one end and connect to its from another computer on the other side of the network.
One both machines run:
sudo apt-get install iperf
Then on Computer A:
iperf -s
And on Computer B:
iperf -c <address of Computer A>
On the client machine, you'll see something like this:
oli@bert:~$ iperf -c tim ------------------------------------------------------------ Client connecting to tim, TCP port 5001 TCP window size: 16.0 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.0.4 port 37248 connected with 192.168.0.5 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.04 GBytes 893 Mbits/sec
Of course, if you're running a firewall on the server machine, you'll need to allow connections on port 5001 or change the port with the -p flag.