MTR (My traceroute) allows you to constantly poll a remote server. This diagnostic tool combines the ‘traceroute’ and ‘ping’ function. It represents an evolution of the traceroute command by providing a greater data sample, as if augmenting traceroute with ping output, and is useful for seeing how a server’s latency and performance changes over time.

Running a traceroute is different for each Operating System. Here are the steps for Windows, Mac OS and Linux:

To install MTR on Windows:

To run WinMTR on Windows:

To run WinMTR from Windows command:

To install MTR on Debian and Ubuntu:

Issue the following commands to ensure that your system’s package repository is up to date, that all installed packages are up to date, and finally to install MTR itself:

apt-get update
apt-get upgrade
apt-get install mtr-tiny

CentOS and Fedora:

Issue the following commands to update repositories, upgrade installed packages, and install the MTR program:

yum update
yum install mtr

Arch Linux systems:

Issue the following commands to update the package database and install MTR:

pacman -Sy pacman -S mtr

To run an MTR on Linux:

Once installed, call it in the shell using your terminal emulator by typing ‘mtr’ followed by the name of the host.

mtr hostking.co.za

The result will look similar to this:

capture

It’s also possible to run MTR with the --report option. 10 packets are sent to each hop and the results are generated.

--report hostking.co.za

The result will look like this:
capture1

Mac OSX:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
brew install mtr