Articles on: Network Tutorials

Running an MTR test on Linux

MTR (My TraceRoute) is a traceroute tool that tests the network connection path between two physical machines over the internet. Combining the functionality of a ping and a traceroute, a MTR allows you to constantly poll a remote server, and see how the latency and performance changes over the path your connection takes across the internet.

There are various reasons our team may request you to provide an MTR report. For example, if you are having an unusual issue with latency, that we are unable to reproduce ourselves, seeing an MTR report may allow us insight into where the issue may be originating. It is always advisable to include a MTR when reporting potential network issues.

To obtain an MTR report on Linux, you will first need to install the mtr program from your package manager. This guide provides examples for popular distributions; exact installation commands may vary. If your distribution is not listed, additional research may be necessary to find the appropriate installation process.

If you need instructions for running an MTR on Windows OS, please refer to this article.

Ubuntu/Debian:
sudo apt-get install mtr

CentOS:
yum install mtr

Fedora:
dnf install mtr

Arch:
sudo pacman -S mtr

After installation, you can generate an MTR report using the following command in the terminal:
mtr -r -c 200 <TARGET>

Replace <TARGET> with the domain name or IP address of the server you wish to test. The command should then look something like this:
mtr -r -c 200 127.0.0.1

This command typically takes about 10 minutes to complete. Afterward, it will display the report results in the terminal window where it was executed. Simply copy and paste the entire report into a .txt file, and then upload this file as an attachment to your support ticket, enabling our team to analyze it.

If you need instructions for running an MTR on Windows OS, please refer to this article:

Updated on: 05/02/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!