{"id":184,"date":"2024-05-05T18:45:11","date_gmt":"2024-05-05T18:45:11","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=184"},"modified":"2024-05-05T18:45:11","modified_gmt":"2024-05-05T18:45:11","slug":"how-to-perform-a-mtr-in-windows-mac-os-and-linux","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/how-to-perform-a-mtr-in-windows-mac-os-and-linux.html","title":{"rendered":"How To Perform A MTR In Windows, Mac OS, And Linux"},"content":{"rendered":"<p>Sometimes, speed and connectivity problems can be related to latency or a \u2018bad hop\u2019 on the route to the server to which you are connecting, or the site you\u2019re attempting to visit. There are a number of ways to determine what the cause of this is, but one great place to start is<\/p>\n<p>An MTR test is a diagnostic tool that can help identify where connections on the internet are failing and may identify what\u2019s causing your connection to fail. Please ensure you run the test while using the specific network that is having an issue.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/zalvis.com\/docs\/how-to-perform-a-mtr-in-windows-mac-os-and-linux.html\/#How_To_Perform_An_MTR_On_Windows\" >How To Perform An MTR On Windows<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/zalvis.com\/docs\/how-to-perform-a-mtr-in-windows-mac-os-and-linux.html\/#How_To_Perform_An_MTR_On_Linux\" >How To Perform An MTR On Linux<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/zalvis.com\/docs\/how-to-perform-a-mtr-in-windows-mac-os-and-linux.html\/#How_To_Perform_An_MTR_On_MacOS\" >How To Perform An MTR On MacOS<\/a><\/li><\/ul><\/nav><\/div>\n<h3 id=\"how-to-perform-an-mtr-on-windows\"><span class=\"ez-toc-section\" id=\"How_To_Perform_An_MTR_On_Windows\"><\/span>How To Perform An MTR On Windows<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>Step 1:<\/strong> Download WinMTR. If you Google WinMTR download, there are a lot of sites that have the file, but some may be sketchy or give you malware. To prevent that, you can click <a href=\"https:\/\/github.com\/White-Tiger\/WinMTR\/releases\" target=\"_blank\" rel=\"nofollow noopener\">this link<\/a> to open a safe place to download the latest build of WinMTR.<\/p>\n<p>On that page, you\u2019ll want to download the file that ends in \u2018static\u2019. The version may change, but the static one is the one you want. See below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-187\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7910.jpeg\" alt=\"\" width=\"1536\" height=\"690\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7910.jpeg 1536w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7910-300x135.jpeg 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7910-1024x460.jpeg 1024w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7910-768x345.jpeg 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p>\n<p>After the file downloads, navigate to the folder where it was saved and unzip the file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-188\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7911.jpeg\" alt=\"\" width=\"1536\" height=\"796\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7911.jpeg 1536w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7911-300x155.jpeg 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7911-1024x531.jpeg 1024w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7911-768x398.jpeg 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p>\n<p>Next, click \u201cExtract\u201d to extract the files into the same folder where the WinMTR ZIP was saved.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-189\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7912.jpeg\" alt=\"\" width=\"881\" height=\"730\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7912.jpeg 881w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7912-300x249.jpeg 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7912-768x636.jpeg 768w\" sizes=\"auto, (max-width: 881px) 100vw, 881px\" \/><\/p>\n<p>After extracting the files, a new window will open with the files.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-190\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7913.jpeg\" alt=\"\" width=\"1536\" height=\"796\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7913.jpeg 1536w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7913-300x155.jpeg 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7913-1024x531.jpeg 1024w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7913-768x398.jpeg 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p>\n<p>Double click WinMTR64.exe to open the application.<\/p>\n<p><strong>Step 2:<\/strong> Run your MTR Test. To do this, enter a domain name or IP address in the host box, then click Start.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-191\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7914.jpeg\" alt=\"\" width=\"947\" height=\"619\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7914.jpeg 947w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7914-300x196.jpeg 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7914-768x502.jpeg 768w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/p>\n<p><strong>Step 3:<\/strong> It\u2019s best to let an MTR test run for about 15 minutes or so to accrue a good dataset.<\/p>\n<p>Once you\u2019re ready to stop the test, click Stop.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-192\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7915.jpeg\" alt=\"\" width=\"947\" height=\"682\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7915.jpeg 947w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7915-300x216.jpeg 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7915-768x553.jpeg 768w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/p>\n<p>Now you can see the results of your MTR Test.<\/p>\n<p><strong>Step 4:<\/strong> It\u2019s more than likely that our team asked you to run this test and are awaiting an export of the results. To do this, click Export Text. (Yes, you can export as HTML but TXT files are much smaller and easier to work with via attachments).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-193\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7916.jpeg\" alt=\"\" width=\"947\" height=\"682\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7916.jpeg 947w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7916-300x216.jpeg 300w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7916-768x553.jpeg 768w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/p>\n<p>After clicking export, you\u2019ll be given the option to name the file. You can give it any name you want at this point.<\/p>\n<p>That\u2019s it! Now you have created an MTR report on Windows, exported it as a TXT file, and are able to send us the file for examination.<\/p>\n<h3 id=\"how-to-perform-an-mtr-on-linux\"><span class=\"ez-toc-section\" id=\"How_To_Perform_An_MTR_On_Linux\"><\/span>How To Perform An MTR On Linux<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Installing MTR on Linux is pretty easy. You\u2019ll just need to use the terminal to download the package from it\u2019s repository and install.<\/p>\n<p>If you\u2019re running a RHEL based distrol, such as CentOS, Fedora, or RHEL, open your terminal and enter:<\/p>\n<pre>yum install mtr<\/pre>\n<p>After it\u2019s been installed, enter this command to run the test:<\/p>\n<pre>mtr google.com -c 1000 -r<\/pre>\n<p>Then press return.<\/p>\n<p>Note, if your user on the Linux system does not have sufficient permissions, you can use the command below. You\u2019ll need to enter your root or admin user password to run this, however.<\/p>\n<pre>sudo yum install mtr<\/pre>\n<p>&nbsp;<\/p>\n<p>If you\u2019re running a Debian based distro, like Ubuntu, use the instructions below:<\/p>\n<p>Open your terminal and enter:<\/p>\n<pre>apt-get install mtr<\/pre>\n<p>Note, if your user on the Linux system does not have sufficient permissions, you can use the command below. You\u2019ll need to enter your root or admin user password to run this, however.<\/p>\n<pre>sudo apt-get install mtr<\/pre>\n<p>After it\u2019s been installed, enter this command to run the test:<\/p>\n<pre>mtr google.com -c -1000 -r<\/pre>\n<p>Since the MTR text runs in a terminal, you can select the text in the terminal, right-click on it, select copy, then paste the results in a ticket to our support team, should you have been requested to run an MTR Test.<\/p>\n<h3 id=\"how-to-perform-an-mtr-on-macos\"><span class=\"ez-toc-section\" id=\"How_To_Perform_An_MTR_On_MacOS\"><\/span>How To Perform An MTR On MacOS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The MTR tool is not pre-installed on Mac OS X devices and is unavailable in the Apple store. To install MTR, you will need to have the Homebrew package management system installed on your computer. Homebrew makes libraries and utilities available for your Mac that are not included in the Mac OS X installation by default.<\/p>\n<p><strong>Step 1)<\/strong> <strong>Install Homebrew<\/strong> (if not already installed). Open the Terminal and run the following command to install Homebrew:<\/p>\n<pre>\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"<\/pre>\n<p>Follow the prompts to complete the installation.<\/p>\n<p><strong>Step 2) Install MTR<\/strong>: Once Homebrew is installed, you can use it to install MTR. In the Terminal, run the following command:<\/p>\n<pre>brew install mtr<\/pre>\n<p>This command downloads and installs MTR on your macOS.<\/p>\n<p><strong>Step 3)<\/strong> <strong>Run MTR<\/strong>: After installation, you might need to run MTR with sudo privileges because it requires raw socket access, which is restricted to root by default. To start an MTR to a specific destination (e.g., example.com), use the following command in the Terminal:<\/p>\n<pre>sudo mtr example.com<\/pre>\n<p>Replace example.com with the actual domain name or IP address you want to diagnose.<\/p>\n<p>Let the MTR trace run for 10-15 minutes. Since the MTR text runs in a terminal, you can select the text in the terminal, right-click on it, select copy (or Press Command-C to copy), then paste the results in a ticket to our support team, should you have been requested to run an MTR Test. Use your mouse to highlight the traces results.<\/p>\n<p><strong>Step 5)<\/strong> Interpret the Output: MTR will start displaying the diagnostic information, which includes the route packets take to the destination and the response time for each hop. The output updates in real-time, showing statistics like packet loss and average latency.<\/p>\n<ul>\n<li>The leftmost column shows the hop number.<\/li>\n<li>The next column shows the IP address and sometimes the hostname of the hop.<\/li>\n<li>Following columns show statistics such as packet loss percentage, average round trip time (RTT), and more.Stop MTR: To stop MTR, simply press Ctrl + C in the Terminal. This will halt the program and give you a final report based on the collected data.<\/li>\n<\/ul>\n<p>And that\u2019s it! Now you know how to run an MTR test and send our Support team the results!<\/p>\n<p>We hope you enjoyed this tutorial!<\/p>\n<div class=\"jdczq69f32e151ed45\" >If you enjoyed this article, then you\u2019ll love Zalvis's Cloud Hosting platform. Turbocharge your website and get 24\/7 support from our veteran team. Our world-class hosting infrastructure focuses on auto-scaling, performance, and security. Let us show you the Zalvis difference! <a href=\"https:\/\/zalvis.com\/\">Check out our services.<\/a><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.jdczq69f32e151ed45 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.jdczq69f32e151ed45 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.jdczq69f32e151ed45 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.jdczq69f32e151ed45 {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.jdczq69f32e151ed45 {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, speed and connectivity problems can be related to latency or a \u2018bad hop\u2019 on the route to the server to which you are connecting, or the site you\u2019re attempting to visit. There are a number of ways to determine what the cause of this is, but one great place to start is An MTR [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-184","post","type-post","status-publish","format-standard","hentry","category-getting-started"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/comments?post=184"}],"version-history":[{"count":3,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/184\/revisions"}],"predecessor-version":[{"id":194,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/184\/revisions\/194"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}