{"id":68629,"date":"2023-09-06T18:01:21","date_gmt":"2023-09-06T10:01:21","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=68629"},"modified":"2023-09-12T17:12:02","modified_gmt":"2023-09-12T09:12:02","slug":"linux-command-mtr","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/","title":{"rendered":"How to Use the &#8216;mtr&#8217; Command in Linux"},"content":{"rendered":"<p>The <code>mtr<\/code> command, short for \u201cMy Traceroute,\u201d is a powerful network diagnostic tool that combines the functionality of both the <code>traceroute<\/code> and <code>ping<\/code> commands. By sending packets to a specified destination, it provides insights into the network path and helps identify potential bottlenecks or failures. Similar to tools like <code>traceroute<\/code>, <code><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ping\/\">ping<\/a><\/code>, and <code>pathping<\/code>, the <code>mtr<\/code> command offers a more comprehensive view of the network\u2019s performance.<\/p>\n<p>System administrators and network engineers find the <code>mtr<\/code> command handy for troubleshooting network issues. Whether you\u2019re monitoring the stability of a connection or diagnosing a complex network problem, the <code>mtr<\/code> command can be used alongside commands like <code>ifconfig<\/code> or <code>netstat<\/code> to provide a detailed analysis.<\/p>\n<h2>How to Install the <code>mtr<\/code> Command<\/h2>\n<p>You may need to install the <code>mtr<\/code> package if it\u2019s not already included in your Linux distribution. Here\u2019s how you can install and uninstall it on some common distributions:<\/p>\n<p><strong>For Debian-based systems (like Ubuntu):<\/strong><\/p>\n<p>To install <code>mtr<\/code> you can use the following command:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get install mtr<\/pre>\n<p>To uninstall <code>mtr<\/code> later, you can use:<\/p>\n<pre>sudo apt-get remove --purge mtr<\/pre>\n<p><strong>For Red Hat-based systems (like Fedora):<\/strong><\/p>\n<p>To install <code>mtr<\/code> you can use:<\/p>\n<pre>sudo dnf install mtr<\/pre>\n<p>To uninstall <code>mtr<\/code> later, you can use:<\/p>\n<pre>sudo dnf remove mtr<\/pre>\n<p><strong>For Arch-based systems:<\/strong><\/p>\n<p>To install <code>mtr<\/code> you can use:<\/p>\n<pre>sudo pacman -S mtr<\/pre>\n<p>To uninstall <code>mtr<\/code> later, you can use:<\/p>\n<pre>sudo pacman -R mtr<\/pre>\n<h2>How to Use <code>mtr<\/code><\/h2>\n<h3>1. Basic Usage<\/h3>\n<p><strong>Syntax:<\/strong> <code>mtr &lt;hostname&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Traces the route to a given hostname or IP address.<\/p>\n<p><strong>Example:<\/strong> <code>mtr example.com<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nHost              Loss%   Snt   Last   Avg  Best  Wrst StDev\r\n1. router.local    0.0%    10    1.2   1.3   1.1   1.5   0.1\r\n2. isp-gateway     0.0%    10    2.3   2.4   2.2   2.6   0.1\r\n3. example.com     0.0%    10   10.5  10.6  10.4  10.8   0.1\r\n<\/pre>\n<p>This output shows the route to <code>example.com<\/code>, with three hops. It provides details on packet loss, number of sent packets, and latency statistics for each hop.<\/p>\n<hr>\n<h3>2. Using ICMP Instead of UDP<\/h3>\n<p><strong>Syntax:<\/strong> <code>mtr --icmp &lt;hostname&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Traces the route using <code>ICMP ECHO<\/code> instead of <code>UDP<\/code> datagrams.<\/p>\n<p><strong>Example:<\/strong> <code>mtr --icmp example.com<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nHost              Loss%   Snt   Last   Avg  Best  Wrst StDev\r\n1. router.local    0.0%    10    1.1   1.2   1.0   1.3   0.1\r\n2. isp-gateway     0.0%    10    2.2   2.3   2.1   2.5   0.1\r\n3. example.com     0.0%    10   10.4  10.5  10.3  10.6   0.1\r\n<\/pre>\n<p>This command uses <code>ICMP ECHO<\/code> for tracing, which might provide different results compared to the default <code>UDP<\/code>, especially if certain firewalls or filters are in place.<\/p>\n<hr>\n<h3>3. Showing the AS (Autonomous System) Number<\/h3>\n<p><strong>Syntax:<\/strong> <code>mtr --aslookup &lt;hostname&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Traces the route and displays the <code>ASN<\/code> (AS number) for each hop.<\/p>\n<p><strong>Example:<\/strong> <code>mtr --aslookup example.com<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nHost              Loss%   Snt   Last   Avg  Best  Wrst StDev ASN\r\n1. router.local    0.0%    10    1.2   1.3   1.1   1.5   0.1 AS12345\r\n2. isp-gateway     0.0%    10    2.3   2.4   2.2   2.6   0.1 AS12345\r\n3. example.com     0.0%    10   10.5  10.6  10.4  10.8   0.1 AS67890\r\n<\/pre>\n<p>This output includes the Autonomous System (AS) number for each hop, which can provide insights into the ownership and control of the network infrastructure along the path to the target.<\/p>\n<hr>\n<h3>4. Using TCP Instead of UDP<\/h3>\n<p><strong>Syntax:<\/strong> <code>mtr --tcp &lt;hostname&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Traces the route using <code>TCP SYN<\/code> packets instead of UDP.<\/p>\n<p><strong>Example:<\/strong> <code>mtr --tcp example.com<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nHost              Loss%   Snt   Last   Avg  Best  Wrst StDev\r\n1. router.local    0.0%    10    1.4   1.5   1.3   1.6   0.1\r\n2. isp-gateway     0.0%    10    2.5   2.6   2.4   2.7   0.1\r\n3. example.com     0.0%    10   10.7  10.8  10.5  11.0   0.1\r\n<\/pre>\n<p>This command uses <code>TCP SYN<\/code> packets for tracing, which can be useful if <code>UDP<\/code> is being filtered or blocked along the route.<\/p>\n<hr>\n<h3>5. Specifying the Number of Pings<\/h3>\n<p><strong>Syntax:<\/strong> <code>mtr -c &lt;count&gt; &lt;hostname&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Sends a specified number of pings to each hop.<\/p>\n<p><strong>Example:<\/strong> <code>mtr -c 5 example.com<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nHost              Loss%   Snt   Last   Avg  Best  Wrst StDev\r\n1. router.local    0.0%     5    1.2   1.3   1.1   1.5   0.1\r\n2. isp-gateway     0.0%     5    2.3   2.4   2.2   2.6   0.1\r\n3. example.com     0.0%     5   10.5  10.6  10.4  10.8   0.1\r\n<\/pre>\n<p>This command sends only 5 pings to each hop, allowing for a quicker analysis of the route.<\/p>\n<hr>\n<h3>6. Displaying the Report at the End<\/h3>\n<p><strong>Syntax:<\/strong> <code>mtr --report &lt;hostname&gt;<\/code><\/p>\n<p><strong>Explanation<\/strong>: Runs <code>mtr<\/code> in report mode, which sends a sequence of pings to each hop and then displays a report at the end.<\/p>\n<p><strong>Example:<\/strong> <code>mtr --report example.com<\/code><\/p>\n<p><strong>Output:<\/strong><\/p>\n<pre>\r\nHOST: localhost              Loss%   Snt   Last   Avg  Best  Wrst StDev\r\n  1. router.local            0.0%    10    1.2   1.3   1.1   1.5   0.1\r\n  2. isp-gateway             0.0%    10    2.3   2.4   2.2   2.6   0.1\r\n  3. example.com             0.0%    10   10.5  10.6  10.4  10.8   0.1\r\n<\/pre>\n<p>This command is useful for generating a single report at the end of the test, rather than continuously updating the display. It\u2019s often used for logging or scripting purposes.<\/p>\n<hr>\n<h3 style=\"padding-bottom:10px\">More Linux commands:<\/h3>\n<table>\n<tbody>\n<tr>\n<td width=\"150\">Directory Operations<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-rm-rmdir\/\"><code>rmdir<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-cd\/\"><code>cd<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-pwd\/\"><code>pwd<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-exa\/\"><code>exa<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ls\/\"><code>ls<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">File Operations<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-cat\/\"><code>cat<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-cp\/\"><code>cp<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-dd\/\"><code>dd<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-less\/\"><code>less<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-touch\/\"><code>touch<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ln\/\"><code>ln<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-rename\/\"><code>rename<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-more\/\"><code>more<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-head\/\"><code>head<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">File System Operations<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-chown\/\"><code>chown<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-mkfs\/\"><code>mkfs<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-locate\/\"><code>locate<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">Networking<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ping\/\"><code>ping<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-curl\/\"><code>curl<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-wget\/\"><code>wget<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-iptables\/\"><code>iptables<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/\"><code>mtr<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">Search and Text Processing<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-find\/\"><code>find<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-grep\/\"><code>grep<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-sed\/\"><code>sed<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-whatis\/\"><code>whatis<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-ripgrep\/\"><code>ripgrep<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-fd\/\"><code>fd<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-tldr\/\"><code>tldr<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">System Information and Management<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-env\/\"><code>env<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-history\/\"><code>history<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-top\/\"><code>top<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-who\/\"><code>who<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-htop\/\"><code>htop<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-glances\/\"><code>glances<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-lsof\/\"><code>lsof<\/code><\/a><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">User and Session Management<\/td>\n<td><a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-screen\/\"><code>screen<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-su\/\"><code>su<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-sudo\/\"><code>sudo<\/code><\/a> \u00b7 <a href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-open\/\"><code>open<\/code><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>","protected":false},"excerpt":{"rendered":"<p>Learn how to troubleshoot network issues like a pro with Linux&#8217;s mtr command.<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3397],"tags":[888,3316],"topic":[],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Use the &#039;mtr&#039; Command in Linux - Hongkiat<\/title>\n<meta name=\"description\" content=\"Learn how to troubleshoot network issues like a pro with Linux&#039;s mtr command.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use the &#039;mtr&#039; Command in Linux\" \/>\n<meta property=\"og:description\" content=\"Learn how to troubleshoot network issues like a pro with Linux&#039;s mtr command.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-06T10:01:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-12T09:12:02+00:00\" \/>\n<meta name=\"author\" content=\"Hongkiat.com\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hongkiat.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-mtr\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-mtr\\\/\"},\"author\":{\"name\":\"Hongkiat.com\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/7cc686597d92f9086729e4bcc1577ba3\"},\"headline\":\"How to Use the &#8216;mtr&#8217; Command in Linux\",\"datePublished\":\"2023-09-06T10:01:21+00:00\",\"dateModified\":\"2023-09-12T09:12:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-mtr\\\/\"},\"wordCount\":458,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"keywords\":[\"Linux\",\"Linux Commands\"],\"articleSection\":[\"Desktop\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-mtr\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-mtr\\\/\",\"name\":\"How to Use the 'mtr' Command in Linux - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"datePublished\":\"2023-09-06T10:01:21+00:00\",\"dateModified\":\"2023-09-12T09:12:02+00:00\",\"description\":\"Learn how to troubleshoot network issues like a pro with Linux's mtr command.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-mtr\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-mtr\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/linux-command-mtr\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use the &#8216;mtr&#8217; Command in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/7cc686597d92f9086729e4bcc1577ba3\",\"name\":\"Hongkiat.com\",\"description\":\"This post is published by an HKDC (hongkiat.com) staff. (I.e., intern, staff writer, or editor).\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use the 'mtr' Command in Linux - Hongkiat","description":"Learn how to troubleshoot network issues like a pro with Linux's mtr command.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/","og_locale":"en_US","og_type":"article","og_title":"How to Use the 'mtr' Command in Linux","og_description":"Learn how to troubleshoot network issues like a pro with Linux's mtr command.","og_url":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2023-09-06T10:01:21+00:00","article_modified_time":"2023-09-12T09:12:02+00:00","author":"Hongkiat.com","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Hongkiat.com","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/"},"author":{"name":"Hongkiat.com","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/7cc686597d92f9086729e4bcc1577ba3"},"headline":"How to Use the &#8216;mtr&#8217; Command in Linux","datePublished":"2023-09-06T10:01:21+00:00","dateModified":"2023-09-12T09:12:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/"},"wordCount":458,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"keywords":["Linux","Linux Commands"],"articleSection":["Desktop"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/","url":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/","name":"How to Use the 'mtr' Command in Linux - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"datePublished":"2023-09-06T10:01:21+00:00","dateModified":"2023-09-12T09:12:02+00:00","description":"Learn how to troubleshoot network issues like a pro with Linux's mtr command.","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/linux-command-mtr\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Use the &#8216;mtr&#8217; Command in Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/7cc686597d92f9086729e4bcc1577ba3","name":"Hongkiat.com","description":"This post is published by an HKDC (hongkiat.com) staff. (I.e., intern, staff writer, or editor).","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/com\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-hQV","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/68629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=68629"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/68629\/revisions"}],"predecessor-version":[{"id":69235,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/68629\/revisions\/69235"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=68629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=68629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=68629"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=68629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}