$ iperf3 -c raspberrypi
Connecting to host raspberrypi, port 5201
[ 5] local 192.168.1.75 port 50206 connected to 192.168.1.71 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 11.5 MBytes 96.1 Mbits/sec 0 116 KBytes
[ 5] 1.00-2.00 sec 11.2 MBytes 94.4 Mbits/sec 0 116 KBytes
[ 5] 2.00-3.00 sec 11.2 MBytes 93.8 Mbits/sec 0 116 KBytes
[ 5] 3.00-4.00 sec 11.2 MBytes 94.4 Mbits/sec 0 116 KBytes
[ 5] 4.00-5.00 sec 11.2 MBytes 93.8 Mbits/sec 0 124 KBytes
[ 5] 5.00-6.00 sec 11.2 MBytes 93.8 Mbits/sec 0 124 KBytes
[ 5] 6.00-7.00 sec 11.2 MBytes 93.8 Mbits/sec 0 124 KBytes
[ 5] 7.00-8.00 sec 11.4 MBytes 95.9 Mbits/sec 0 177 KBytes
[ 5] 8.00-9.00 sec 11.2 MBytes 93.8 Mbits/sec 0 177 KBytes
[ 5] 9.00-10.00 sec 11.2 MBytes 93.8 Mbits/sec 0 177 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 113 MBytes 94.4 Mbits/sec 0 sender
[ 5] 0.00-10.01 sec 112 MBytes 94.0 Mbits/sec receiver
Public servers
If you want to check your internet speed just use another host than your own from this list with public iperf servers. Test with, for example,
$ iperf3 -c paris.testdebit.info -p 9200
Autostart server with systemd
$ sudo nano /etc/systemd/system/ipref3.service
Description=iperf3 Speedtest
After=syslog.target network-online.target
[Service]
Type=simple
User=root
ExecStart=/usr/bin/iperf3 -s
Restart=on-failure
RestartSec=10
KillMode=process
WantedBy=multi-user.target
$ sudo systemctl enable iperf3
Created symlink /etc/systemd/system/multi-user.target.wants/iperf3.service → /etc/systemd/system/iperf3.service.
$ sudo systemctl start iperf3
$ sudo systemctl status iperf3
No comments:
Post a Comment
Feel free to leave a comment ! ... but due to a lot of spam comments I have to moderate them. Will reply ASAP !