N
N
nezzard2014-05-28 18:55:46
SSH
nezzard, 2014-05-28 18:55:46

How to check speed via ssh?

Good afternoon, I did port forwarding, through putty, connecting to the vps server. How to find out the speed of the Internet that will be issued by a connection to a specific IP on a specific port?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2014-05-28
@nezzard

Very simple → iperf . There are quite a decent amount of settings, I think even for the most demanding user ;-)
It is done like this:
1. On the server: iperf -s
2. On the client: iperf -c [server_ip]
Output:

[email protected]:/home/server# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local [server_ip] port 5001 connected with [ip] port 49262
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.5 sec  57.9 MBytes  46.1 Mbits/sec

[email protected]:/home/server# iperf -c [server_ip]
------------------------------------------------------------
Client connecting to [server_ip], TCP port 5001
TCP window size: 22.7 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.2 port 49262 connected with [server_ip] port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.2 sec  57.9 MBytes  47.7 Mbits/sec

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question