How to check bandwidth

1. Run the below command to check the download and upload speed of the server.

speedtest

  If the command is not found then one can install it as follows: 

sudo apt install speedtest-cli


2. To check the network speed from one server to the other.

speedtest --server <server ID>

 a. If one wants to check the network speed from Bangalore server to Gujarat server then go to one of the Bangalore servers and run the below command.

speedtest --server 18782

 b. If one wants to check the network speed from Gujarat server to Bangalore server then go to one of the Gujarat servers and run the below command.

speedtest --server 11558

3. Run below command to Install iperf3. and start the iperf3 service
sudo apt install iperf3

                     &

sudo systemctl start iperf3.service

 3. To check internal LAN speed between the servers.

iperf3 -c  <IP-address>