{
    "content": [
        {
            "type": "text",
            "text": "# MTR(8) (man)\n\n**Summary:** mtr - a network diagnostic tool\n\n**Synopsis:** mtr  [-4|-6]  [-F FILENAME] [--report] [--report-wide] [--xml] [--gtk] [--curses] [--display‐‐\nmode MODE] [--raw] [--csv] [--json] [--split] [--no-dns] [--show-ips] [-o FIELDS] [-y IPINFO]\n[--aslookup]   [-i INTERVAL]   [-c COUNT]  [-s PACKETSIZE]  [-B BITPATTERN]  [-G GRACEPERIOD]\n[-Q TOS] [--mpls] [-I NAME] [-a ADDRESS] [-f FIRST-TTL] [-m MAX-TTL] [-U MAX-UNKNOWN] [--udp]\n[--tcp] [--sctp] [-P PORT] [-L LOCALPORT] [-Z TIMEOUT] [-M MARK] HOSTNAME\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -h | --help | — | Print the summary of command line argument options. |\n| -v | --version | — | Print the installed version of mtr. |\n| -4 | — | — |  |\n| -6 | — | — |  |\n| -F | --filename | — | Reads the list of hostnames from the specified file. |\n| -r | --report | — | This option puts mtr into report mode. When in this mode, mtr will run for the number of cycles specified by the -c opti |\n| -w | --report-wide | — | This option puts mtr into wide report mode. When in this mode, mtr will not cut host‐ names in the report. |\n| -x | --xml | — | Use this option to tell mtr to use the xml output format. This format is better suited for automated processing of the m |\n| -t | --curses | — | Use this option to force mtr to use the curses based terminal interface (if avail‐ able). In case the list of hops excee |\n| -g | --gtk | — | Use this option to force mtr to use the GTK+ based X11 window interface (if avail‐ able). GTK+ must have been available  |\n| -l | --raw | — | Use the raw output format. This format is better suited for archival of the measure‐ ment results. It could be parsed to |\n| -C | --csv | — | Use the Comma-Separated-Value (CSV) output format. (Note: The separator is actually a semi-colon ';'.) Example of the CS |\n| -j | --json | — | Use this option to tell mtr to use the JSON output format. This format is better suited for automated processing of the  |\n| -p | --split | — | Use this option to set mtr to spit out a format that is suitable for a split-user in‐ terface. |\n| -n | --no-dns | — | Use this option to force mtr to display numeric IP numbers and not try to resolve the host names. |\n| -b | --show-ips | — | Use this option to tell mtr to display both the host names and numeric IP numbers. In split mode this adds an extra fiel |\n| -o | --order | — | Use this option to specify which fields to display and in which order. You may use one or more space characters to separ |\n| -y | --ipinfo | — | Displays information about each IP hop. Valid values for n are: 0 Display AS number (equivalent to -z) 1 Display IP pref |\n| -z | --aslookup | — | Displays the Autonomous System (AS) number alongside each hop. Equivalent to --ipinfo 0. Example (columns to the right n |\n| -i | --interval | — | Use this option to specify the positive number of seconds between ICMP ECHO requests. The default value for this paramet |\n| -c | --report-cycles | — | Use this option to set the number of pings sent to determine both the machines on the network and the reliability of tho |\n| -s | --psize | — | This option sets the packet size used for probing. It is in bytes, inclusive IP and ICMP headers. If set to a negative n |\n| -B | --bitpattern | — | Specifies bit pattern to use in payload. Should be within range 0 - 255. If NUM is greater than 255, a random pattern is |\n| -G | --gracetime | — | Use this option to specify the positive number of seconds to wait for responses after the final request. The default val |\n| -Q | --tos | — | Specifies value for type of service field in IP header. Should be within range 0 - 255. |\n| -e | --mpls | — | Use this option to tell mtr to display information from ICMP extensions for MPLS (RFC 4950) that are encoded in the resp |\n| -I | --interface | — | Use the network interface with a specific name for sending network probes. This can be useful when you have multiple net |\n| -a | --address | — | Use this option to bind the outgoing socket to ADDRESS, so that all packets will be sent with ADDRESS as source address. |\n| -f | --first-ttl | — | Specifies with what TTL to start. Defaults to 1. |\n| -m | --max-ttl | — | Specifies the maximum number of hops (max time-to-live value) traceroute will probe. Default is 30. |\n| -U | --max-unknown | — | Specifies the maximum unknown host. Default is 5. |\n| -u | --udp | — | Use UDP datagrams instead of ICMP ECHO. |\n| -T | --tcp | — | Use TCP SYN packets instead of ICMP ECHO. PACKETSIZE is ignored, since SYN packets can not contain data. |\n| -S | --sctp | — | Use Stream Control Transmission Protocol packets instead of ICMP ECHO. |\n| -P | --port | — | The target port number for TCP/SCTP/UDP traces. |\n| -L | --localport | — | The source port number for UDP traces. |\n| -Z | --timeout | — | The number of seconds to keep probe sockets open before giving up on the connection. Using large values for this, especi |\n| -M | --mark | — | Set the mark for each packet sent through this socket similar to the netfilter MARK target but socket-based. MARK is 32  |\n\n## See Also\n\n- mtr-packet(8)\n- traceroute(8)\n- ping(8)\n- socket(7)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (6 lines)\n- **DESCRIPTION** (12 lines)\n- **OPTIONS** (1 lines) — 38 subsections\n  - -h --help (2 lines)\n  - -v --version (2 lines)\n  - -4 (1 lines)\n  - -6 (1 lines)\n  - -F --filename (2 lines)\n  - -r --report (8 lines)\n  - -w --report-wide (3 lines)\n  - -x --xml (3 lines)\n  - -t --curses (12 lines)\n  - -g --gtk (4 lines)\n  - -l --raw (20 lines)\n  - -C --csv (12 lines)\n  - -j --json (4 lines)\n  - -p --split (3 lines)\n  - -n --no-dns (3 lines)\n  - -b --show-ips (5 lines)\n  - -o --order (35 lines)\n  - -y --ipinfo (10 lines)\n  - -z --aslookup (12 lines)\n  - -i --interval (4 lines)\n  - -c --report-cycles (3 lines)\n  - -s --psize (6 lines)\n  - -B --bitpattern (3 lines)\n  - -G --gracetime (3 lines)\n  - -Q --tos (3 lines)\n  - -e --mpls (3 lines)\n  - -I --interface (4 lines)\n  - -a --address (4 lines)\n  - -f --first-ttl (2 lines)\n  - -m --max-ttl (3 lines)\n  - -U --max-unknown (2 lines)\n  - -u --udp (2 lines)\n  - -T --tcp (3 lines)\n  - -S --sctp (2 lines)\n  - -P --port (2 lines)\n  - -L --localport (2 lines)\n  - -Z --timeout (4 lines)\n  - -M --mark (4 lines)\n- **ENVIRONMENT** (22 lines)\n- **INTERACTIVE CONTROL** (21 lines)\n- **BUGS** (4 lines)\n- **CONTACT INFORMATION** (5 lines)\n- **SEE ALSO** (6 lines)\n\n## Full Content\n\n### NAME\n\nmtr - a network diagnostic tool\n\n### SYNOPSIS\n\nmtr  [-4|-6]  [-F FILENAME] [--report] [--report-wide] [--xml] [--gtk] [--curses] [--display‐‐\nmode MODE] [--raw] [--csv] [--json] [--split] [--no-dns] [--show-ips] [-o FIELDS] [-y IPINFO]\n[--aslookup]   [-i INTERVAL]   [-c COUNT]  [-s PACKETSIZE]  [-B BITPATTERN]  [-G GRACEPERIOD]\n[-Q TOS] [--mpls] [-I NAME] [-a ADDRESS] [-f FIRST-TTL] [-m MAX-TTL] [-U MAX-UNKNOWN] [--udp]\n[--tcp] [--sctp] [-P PORT] [-L LOCALPORT] [-Z TIMEOUT] [-M MARK] HOSTNAME\n\n### DESCRIPTION\n\nmtr  combines the functionality of the traceroute and ping programs in a single network diag‐\nnostic tool.\n\nAs mtr starts, it investigates the network connection between the host mtr runs on and  HOST‐‐\nNAME  by sending packets with purposely low TTLs.  It continues to send packets with low TTL,\nnoting the response time of the intervening routers.  This allows mtr to print  the  response\npercentage and response times of the internet route to HOSTNAME.  A sudden increase in packet\nloss or response time is often an indication of a bad (or simply overloaded) link.\n\nThe results are usually reported as round-trip-response times in milliseconds  and  the  per‐\ncentage of packet loss.\n\n### OPTIONS\n\n#### -h --help\n\nPrint the summary of command line argument options.\n\n#### -v --version\n\nPrint the installed version of mtr.\n\n#### -4\n\n#### -6\n\n#### -F --filename\n\nReads the list of hostnames from the specified file.\n\n#### -r --report\n\nThis option puts mtr into report mode.  When in this mode, mtr will run for the number\nof cycles specified by the -c option, and then print statistics and exit.\n\nThis mode is useful for generating statistics about network quality.\nNote that each running instance of mtr generates a significant amount of network traf‐\nfic.  Using mtr to measure the quality of your network may result in decreased network\nperformance.\n\n#### -w --report-wide\n\nThis option puts mtr into wide report mode.  When in this mode, mtr will not cut host‐\nnames in the report.\n\n#### -x --xml\n\nUse  this  option  to  tell  mtr  to use the xml output format.  This format is better\nsuited for automated processing of the measurement results.\n\n#### -t --curses\n\nUse this option to force mtr to use the curses based  terminal  interface  (if  avail‐\nable).   In case the list of hops exceeds the height of your terminal, you can use the\n+ and - keys to scroll up and down half a page.\n\nCtrl-L clears spurious error messages that may overwrite other parts of the display.\n\n\n--displaymode MODE\nUse this option to select the initial display mode: 0 (default) selects statistics,  1\nselects  the stripchart without latency information, and 2 selects the stripchart with\nlatency information.\n\n#### -g --gtk\n\nUse this option to force mtr to use the GTK+ based X11  window  interface  (if  avail‐\nable).   GTK+  must  have  been available on the system when mtr was built for this to\nwork.  See the GTK+ web page at ⟨http://www.gtk.org/⟩ for more information about GTK+.\n\n#### -l --raw\n\nUse the raw output format.  This format is better suited for archival of the  measure‐\nment  results.  It could be parsed to be presented into any of the other display meth‐\nods.\n\nExample of the raw output format:\nh 0 10.1.1.1\np 0 339\nh 1 46.149.16.4\np 1 530\nh 2 172.31.1.16\np 2 531\nh 3 82.221.168.236\np 3 1523\nh 5 195.130.211.8\np 5 1603\nh 6 193.4.58.17\np 6 1127\nh 7 193.4.58.17\nd 7 www.isnic.is\n\n#### -C --csv\n\nUse the Comma-Separated-Value (CSV) output format.  (Note: The separator is actually a\nsemi-colon ';'.)\n\nExample of the CSV output format:\nMTR.0.86+git:16e39fc0;1435562787;OK;nic.is;1;r-76520-PROD.greenqloud.internal;288\nMTR.0.86+git:16e39fc0;1435562787;OK;nic.is;2;46.149.16.4;2086\nMTR.0.86+git:16e39fc0;1435562787;OK;nic.is;3;172.31.1.16;600\nMTR.0.86+git:16e39fc0;1435562787;OK;nic.is;4;82.221.168.236;1163\nMTR.0.86+git:16e39fc0;1435562787;OK;nic.is;5;???;0\nMTR.0.86+git:16e39fc0;1435562787;OK;nic.is;6;rix-k2-gw.isnic.is;1654\nMTR.0.86+git:16e39fc0;1435562787;OK;nic.is;7;www.isnic.is;1036\n\n#### -j --json\n\nUse  this  option  to  tell  mtr to use the JSON output format.  This format is better\nsuited for automated processing of the measurement results.  Jansson library must have\nbeen available on the system when mtr was built for this to work.\n\n#### -p --split\n\nUse  this option to set mtr to spit out a format that is suitable for a split-user in‐\nterface.\n\n#### -n --no-dns\n\nUse this option to force mtr to display numeric IP numbers and not try to resolve  the\nhost names.\n\n#### -b --show-ips\n\nUse this option to tell mtr to display both the host names and numeric IP numbers.  In\nsplit mode this adds an extra field to the output.  In report mode, there  is  usually\ntoo little space to add the IPs, and they will be truncated.  Use the wide report (-w)\nmode to see the IPs in report mode.\n\n#### -o --order\n\nUse this option to specify which fields to display and in which order.   You  may  use\none or more space characters to separate fields.\nAvailable fields:\n\n┌──┬─────────────────────┐\n│L │ Loss ratio          │\n├──┼─────────────────────┤\n│D │ Dropped packets     │\n├──┼─────────────────────┤\n│R │ Received packets    │\n├──┼─────────────────────┤\n│S │ Sent Packets        │\n├──┼─────────────────────┤\n│N │ Newest RTT(ms)      │\n├──┼─────────────────────┤\n│B │ Min/Best RTT(ms)    │\n├──┼─────────────────────┤\n│A │ Average RTT(ms)     │\n├──┼─────────────────────┤\n│W │ Max/Worst RTT(ms)   │\n├──┼─────────────────────┤\n│V │ Standard Deviation  │\n├──┼─────────────────────┤\n│G │ Geometric Mean      │\n├──┼─────────────────────┤\n│J │ Current Jitter      │\n├──┼─────────────────────┤\n│M │ Jitter Mean/Avg.    │\n├──┼─────────────────────┤\n│X │ Worst Jitter        │\n├──┼─────────────────────┤\n│I │ Interarrival Jitter │\n└──┴─────────────────────┘\nExample: -o \"LSD NBAW  X\"\n\n#### -y --ipinfo\n\nDisplays information about each IP hop.  Valid values for n are:\n\n0   Display AS number (equivalent to -z)\n1   Display IP prefix\n2   Display country code of the origin AS\n3   Display RIR (ripencc, arin, ...)\n4   Display the allocation date of the IP prefix\n\nIt is possible to cycle between these fields at runtime (using the y key).\n\n#### -z --aslookup\n\nDisplays the Autonomous System (AS) number alongside each hop.  Equivalent to --ipinfo\n0.\n\nExample (columns to the right not shown for clarity):\n1. AS???   r-76520-PROD.greenqloud.internal\n2. AS51969 46.149.16.4\n3. AS???   172.31.1.16\n4. AS30818 82.221.168.236\n5. ???\n6. AS???   rix-k2-gw.isnic.is\n7. AS1850  www.isnic.is\n\n#### -i --interval\n\nUse this option to specify the positive number of seconds between ICMP ECHO  requests.\nThe  default  value for this parameter is one second.  The root user may choose values\nbetween zero and one.\n\n#### -c --report-cycles\n\nUse this option to set the number of pings sent to determine both the machines on  the\nnetwork and the reliability of those machines.  Each cycle lasts one second.\n\n#### -s --psize\n\nThis  option  sets the packet size used for probing.  It is in bytes, inclusive IP and\nICMP headers.\n\nIf set to a negative number, every iteration will use a different, random packet  size\nup to that number.\n\n#### -B --bitpattern\n\nSpecifies  bit  pattern to use in payload.  Should be within range 0 - 255.  If NUM is\ngreater than 255, a random pattern is used.\n\n#### -G --gracetime\n\nUse this option to specify the positive number of seconds to wait for responses  after\nthe final request. The default value is five seconds.\n\n#### -Q --tos\n\nSpecifies  value  for  type of service field in IP header.  Should be within range 0 -\n255.\n\n#### -e --mpls\n\nUse this option to tell mtr to display information from ICMP extensions for MPLS  (RFC\n4950) that are encoded in the response packets.\n\n#### -I --interface\n\nUse  the  network interface with a specific name for sending network probes.  This can\nbe useful when you have multiple network interfaces with routes to  your  destination,\nfor example both wired Ethernet and WiFi, and wish to test a particular interface.\n\n#### -a --address\n\nUse  this  option  to bind the outgoing socket to ADDRESS, so that all packets will be\nsent with ADDRESS as source address.  NOTE that this option doesn't apply to  DNS  re‐\nquests (which could be and could not be what you want).\n\n#### -f --first-ttl\n\nSpecifies with what TTL to start.  Defaults to 1.\n\n#### -m --max-ttl\n\nSpecifies  the  maximum number of hops (max time-to-live value) traceroute will probe.\nDefault is 30.\n\n#### -U --max-unknown\n\nSpecifies the maximum unknown host. Default is 5.\n\n#### -u --udp\n\nUse UDP datagrams instead of ICMP ECHO.\n\n#### -T --tcp\n\nUse TCP SYN packets instead of ICMP ECHO.  PACKETSIZE is ignored,  since  SYN  packets\ncan not contain data.\n\n#### -S --sctp\n\nUse Stream Control Transmission Protocol packets instead of ICMP ECHO.\n\n#### -P --port\n\nThe target port number for TCP/SCTP/UDP traces.\n\n#### -L --localport\n\nThe source port number for UDP traces.\n\n#### -Z --timeout\n\nThe  number  of seconds to keep probe sockets open before giving up on the connection.\nUsing large values for this, especially combined with a short interval, will use up  a\nlot of file descriptors.\n\n#### -M --mark\n\nSet  the  mark  for each packet sent through this socket similar to the netfilter MARK\ntarget but socket-based.  MARK is 32 unsigned integer.  See  socket(7)  for  full  de‐\nscription of this socket option.\n\n### ENVIRONMENT\n\nmtr recognizes a few environment variables.\n\nMTROPTIONS\nThis environment variable allows one to specify options, as if they were passed on the\ncommand line.  It is parsed before reading the actual command line  options,  so  that\noptions specified in MTROPTIONS are overridden by command-line options.\n\nExample:\n\nMTROPTIONS=\"-4 -c 1\" mtr -6 localhost\n\nwould send one probe (because of -c 1) towards ::1 (because of -6, which overrides the\n-4 passed in MTROPTIONS).\n\nMTRPACKET\nA path to the mtr-packet executable, to be used  for  sending  and  receiving  network\nprobes.  If MTRPACKET is unset, the PATH will be used to search for an mtr-packet ex‐\necutable.\n\nDISPLAY\nSpecifies an X11 server for the GTK+ frontend.\n\n### INTERACTIVE CONTROL\n\nmtr can be controlled while it is running with the following keys:\n?|h     help\np       pause (SPACE to resume)\nd       switching display mode\ne       toggle MPLS information on/off\nn       toggle DNS on/off\nr       reset all counters\no str   set the columns to display, default str='LRS N BAWV'\nj       toggle latency(LS NABWV)/jitter(DR AGJMXI) stats\nc <n>   report cycle n, default n=infinite\ni <n>   set the ping interval to n seconds, default n=1\nf <n>   set the initial time-to-live(ttl), default n=1\nm <n>   set the max time-to-live, default n= # of hops\ns <n>   set the packet size to n or random(n<0)\nb <c>   set ping bit pattern to c(0..255) or random(c<0)\nQ <t>   set ping packet's TOS to t\nu       switch between ICMP ECHO and UDP datagrams\ny       switching IP info\nz       toggle ASN info on/off\nq       exit\n\n### BUGS\n\nSome modern routers give a lower priority to ICMP ECHO packets than to other network traffic.\nConsequently,  the  reliability  of these routers reported by mtr will be significantly lower\nthan the actual reliability of these routers.\n\n### CONTACT INFORMATION\n\nFor the latest version, see the mtr web page at ⟨http://www.bitwizard.nl/mtr/⟩\n\nFor patches, bug reports, or feature requests, please open an issue on GitHub  at:  ⟨https://\ngithub.com/traviscross/mtr⟩.\n\n### SEE ALSO\n\nmtr-packet(8),   traceroute(8),   ping(8),   socket(7),  TCP/IP  Illustrated  (Stevens,  ISBN\n0201633469).\n\n\n\nmtr                                             0.95                                          MTR(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "MTR",
        "section": "8",
        "mode": "man",
        "summary": "mtr - a network diagnostic tool",
        "synopsis": "mtr  [-4|-6]  [-F FILENAME] [--report] [--report-wide] [--xml] [--gtk] [--curses] [--display‐‐\nmode MODE] [--raw] [--csv] [--json] [--split] [--no-dns] [--show-ips] [-o FIELDS] [-y IPINFO]\n[--aslookup]   [-i INTERVAL]   [-c COUNT]  [-s PACKETSIZE]  [-B BITPATTERN]  [-G GRACEPERIOD]\n[-Q TOS] [--mpls] [-I NAME] [-a ADDRESS] [-f FIRST-TTL] [-m MAX-TTL] [-U MAX-UNKNOWN] [--udp]\n[--tcp] [--sctp] [-P PORT] [-L LOCALPORT] [-Z TIMEOUT] [-M MARK] HOSTNAME",
        "flags": [
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Print the summary of command line argument options."
            },
            {
                "flag": "-v",
                "long": "--version",
                "arg": null,
                "description": "Print the installed version of mtr."
            },
            {
                "flag": "-4",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-6",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-F",
                "long": "--filename",
                "arg": null,
                "description": "Reads the list of hostnames from the specified file."
            },
            {
                "flag": "-r",
                "long": "--report",
                "arg": null,
                "description": "This option puts mtr into report mode. When in this mode, mtr will run for the number of cycles specified by the -c option, and then print statistics and exit. This mode is useful for generating statistics about network quality. Note that each running instance of mtr generates a significant amount of network traf‐ fic. Using mtr to measure the quality of your network may result in decreased network performance."
            },
            {
                "flag": "-w",
                "long": "--report-wide",
                "arg": null,
                "description": "This option puts mtr into wide report mode. When in this mode, mtr will not cut host‐ names in the report."
            },
            {
                "flag": "-x",
                "long": "--xml",
                "arg": null,
                "description": "Use this option to tell mtr to use the xml output format. This format is better suited for automated processing of the measurement results."
            },
            {
                "flag": "-t",
                "long": "--curses",
                "arg": null,
                "description": "Use this option to force mtr to use the curses based terminal interface (if avail‐ able). In case the list of hops exceeds the height of your terminal, you can use the + and - keys to scroll up and down half a page. Ctrl-L clears spurious error messages that may overwrite other parts of the display. --displaymode MODE Use this option to select the initial display mode: 0 (default) selects statistics, 1 selects the stripchart without latency information, and 2 selects the stripchart with latency information."
            },
            {
                "flag": "-g",
                "long": "--gtk",
                "arg": null,
                "description": "Use this option to force mtr to use the GTK+ based X11 window interface (if avail‐ able). GTK+ must have been available on the system when mtr was built for this to work. See the GTK+ web page at ⟨http://www.gtk.org/⟩ for more information about GTK+."
            },
            {
                "flag": "-l",
                "long": "--raw",
                "arg": null,
                "description": "Use the raw output format. This format is better suited for archival of the measure‐ ment results. It could be parsed to be presented into any of the other display meth‐ ods. Example of the raw output format: h 0 10.1.1.1 p 0 339 h 1 46.149.16.4 p 1 530 h 2 172.31.1.16 p 2 531 h 3 82.221.168.236 p 3 1523 h 5 195.130.211.8 p 5 1603 h 6 193.4.58.17 p 6 1127 h 7 193.4.58.17 d 7 www.isnic.is"
            },
            {
                "flag": "-C",
                "long": "--csv",
                "arg": null,
                "description": "Use the Comma-Separated-Value (CSV) output format. (Note: The separator is actually a semi-colon ';'.) Example of the CSV output format: MTR.0.86+git:16e39fc0;1435562787;OK;nic.is;1;r-76520-PROD.greenqloud.internal;288 MTR.0.86+git:16e39fc0;1435562787;OK;nic.is;2;46.149.16.4;2086 MTR.0.86+git:16e39fc0;1435562787;OK;nic.is;3;172.31.1.16;600 MTR.0.86+git:16e39fc0;1435562787;OK;nic.is;4;82.221.168.236;1163 MTR.0.86+git:16e39fc0;1435562787;OK;nic.is;5;???;0 MTR.0.86+git:16e39fc0;1435562787;OK;nic.is;6;rix-k2-gw.isnic.is;1654 MTR.0.86+git:16e39fc0;1435562787;OK;nic.is;7;www.isnic.is;1036"
            },
            {
                "flag": "-j",
                "long": "--json",
                "arg": null,
                "description": "Use this option to tell mtr to use the JSON output format. This format is better suited for automated processing of the measurement results. Jansson library must have been available on the system when mtr was built for this to work."
            },
            {
                "flag": "-p",
                "long": "--split",
                "arg": null,
                "description": "Use this option to set mtr to spit out a format that is suitable for a split-user in‐ terface."
            },
            {
                "flag": "-n",
                "long": "--no-dns",
                "arg": null,
                "description": "Use this option to force mtr to display numeric IP numbers and not try to resolve the host names."
            },
            {
                "flag": "-b",
                "long": "--show-ips",
                "arg": null,
                "description": "Use this option to tell mtr to display both the host names and numeric IP numbers. In split mode this adds an extra field to the output. In report mode, there is usually too little space to add the IPs, and they will be truncated. Use the wide report (-w) mode to see the IPs in report mode."
            },
            {
                "flag": "-o",
                "long": "--order",
                "arg": null,
                "description": "Use this option to specify which fields to display and in which order. You may use one or more space characters to separate fields. Available fields: ┌──┬─────────────────────┐ │L │ Loss ratio │ ├──┼─────────────────────┤ │D │ Dropped packets │ ├──┼─────────────────────┤ │R │ Received packets │ ├──┼─────────────────────┤ │S │ Sent Packets │ ├──┼─────────────────────┤ │N │ Newest RTT(ms) │ ├──┼─────────────────────┤ │B │ Min/Best RTT(ms) │ ├──┼─────────────────────┤ │A │ Average RTT(ms) │ ├──┼─────────────────────┤ │W │ Max/Worst RTT(ms) │ ├──┼─────────────────────┤ │V │ Standard Deviation │ ├──┼─────────────────────┤ │G │ Geometric Mean │ ├──┼─────────────────────┤ │J │ Current Jitter │ ├──┼─────────────────────┤ │M │ Jitter Mean/Avg. │ ├──┼─────────────────────┤ │X │ Worst Jitter │ ├──┼─────────────────────┤ │I │ Interarrival Jitter │ └──┴─────────────────────┘ Example: -o \"LSD NBAW X\""
            },
            {
                "flag": "-y",
                "long": "--ipinfo",
                "arg": null,
                "description": "Displays information about each IP hop. Valid values for n are: 0 Display AS number (equivalent to -z) 1 Display IP prefix 2 Display country code of the origin AS 3 Display RIR (ripencc, arin, ...) 4 Display the allocation date of the IP prefix It is possible to cycle between these fields at runtime (using the y key)."
            },
            {
                "flag": "-z",
                "long": "--aslookup",
                "arg": null,
                "description": "Displays the Autonomous System (AS) number alongside each hop. Equivalent to --ipinfo 0. Example (columns to the right not shown for clarity): 1. AS??? r-76520-PROD.greenqloud.internal 2. AS51969 46.149.16.4 3. AS??? 172.31.1.16 4. AS30818 82.221.168.236 5. ??? 6. AS??? rix-k2-gw.isnic.is 7. AS1850 www.isnic.is"
            },
            {
                "flag": "-i",
                "long": "--interval",
                "arg": null,
                "description": "Use this option to specify the positive number of seconds between ICMP ECHO requests. The default value for this parameter is one second. The root user may choose values between zero and one."
            },
            {
                "flag": "-c",
                "long": "--report-cycles",
                "arg": null,
                "description": "Use this option to set the number of pings sent to determine both the machines on the network and the reliability of those machines. Each cycle lasts one second."
            },
            {
                "flag": "-s",
                "long": "--psize",
                "arg": null,
                "description": "This option sets the packet size used for probing. It is in bytes, inclusive IP and ICMP headers. If set to a negative number, every iteration will use a different, random packet size up to that number."
            },
            {
                "flag": "-B",
                "long": "--bitpattern",
                "arg": null,
                "description": "Specifies bit pattern to use in payload. Should be within range 0 - 255. If NUM is greater than 255, a random pattern is used."
            },
            {
                "flag": "-G",
                "long": "--gracetime",
                "arg": null,
                "description": "Use this option to specify the positive number of seconds to wait for responses after the final request. The default value is five seconds."
            },
            {
                "flag": "-Q",
                "long": "--tos",
                "arg": null,
                "description": "Specifies value for type of service field in IP header. Should be within range 0 - 255."
            },
            {
                "flag": "-e",
                "long": "--mpls",
                "arg": null,
                "description": "Use this option to tell mtr to display information from ICMP extensions for MPLS (RFC 4950) that are encoded in the response packets."
            },
            {
                "flag": "-I",
                "long": "--interface",
                "arg": null,
                "description": "Use the network interface with a specific name for sending network probes. This can be useful when you have multiple network interfaces with routes to your destination, for example both wired Ethernet and WiFi, and wish to test a particular interface."
            },
            {
                "flag": "-a",
                "long": "--address",
                "arg": null,
                "description": "Use this option to bind the outgoing socket to ADDRESS, so that all packets will be sent with ADDRESS as source address. NOTE that this option doesn't apply to DNS re‐ quests (which could be and could not be what you want)."
            },
            {
                "flag": "-f",
                "long": "--first-ttl",
                "arg": null,
                "description": "Specifies with what TTL to start. Defaults to 1."
            },
            {
                "flag": "-m",
                "long": "--max-ttl",
                "arg": null,
                "description": "Specifies the maximum number of hops (max time-to-live value) traceroute will probe. Default is 30."
            },
            {
                "flag": "-U",
                "long": "--max-unknown",
                "arg": null,
                "description": "Specifies the maximum unknown host. Default is 5."
            },
            {
                "flag": "-u",
                "long": "--udp",
                "arg": null,
                "description": "Use UDP datagrams instead of ICMP ECHO."
            },
            {
                "flag": "-T",
                "long": "--tcp",
                "arg": null,
                "description": "Use TCP SYN packets instead of ICMP ECHO. PACKETSIZE is ignored, since SYN packets can not contain data."
            },
            {
                "flag": "-S",
                "long": "--sctp",
                "arg": null,
                "description": "Use Stream Control Transmission Protocol packets instead of ICMP ECHO."
            },
            {
                "flag": "-P",
                "long": "--port",
                "arg": null,
                "description": "The target port number for TCP/SCTP/UDP traces."
            },
            {
                "flag": "-L",
                "long": "--localport",
                "arg": null,
                "description": "The source port number for UDP traces."
            },
            {
                "flag": "-Z",
                "long": "--timeout",
                "arg": null,
                "description": "The number of seconds to keep probe sockets open before giving up on the connection. Using large values for this, especially combined with a short interval, will use up a lot of file descriptors."
            },
            {
                "flag": "-M",
                "long": "--mark",
                "arg": null,
                "description": "Set the mark for each packet sent through this socket similar to the netfilter MARK target but socket-based. MARK is 32 unsigned integer. See socket(7) for full de‐ scription of this socket option."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "mtr-packet",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mtr-packet/8/json"
            },
            {
                "name": "traceroute",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/traceroute/8/json"
            },
            {
                "name": "ping",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/ping/8/json"
            },
            {
                "name": "socket",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/socket/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-v --version",
                        "lines": 2,
                        "flag": "-v",
                        "long": "--version"
                    },
                    {
                        "name": "-4",
                        "lines": 1,
                        "flag": "-4"
                    },
                    {
                        "name": "-6",
                        "lines": 1,
                        "flag": "-6"
                    },
                    {
                        "name": "-F --filename",
                        "lines": 2,
                        "flag": "-F",
                        "long": "--filename"
                    },
                    {
                        "name": "-r --report",
                        "lines": 8,
                        "flag": "-r",
                        "long": "--report"
                    },
                    {
                        "name": "-w --report-wide",
                        "lines": 3,
                        "flag": "-w",
                        "long": "--report-wide"
                    },
                    {
                        "name": "-x --xml",
                        "lines": 3,
                        "flag": "-x",
                        "long": "--xml"
                    },
                    {
                        "name": "-t --curses",
                        "lines": 12,
                        "flag": "-t",
                        "long": "--curses"
                    },
                    {
                        "name": "-g --gtk",
                        "lines": 4,
                        "flag": "-g",
                        "long": "--gtk"
                    },
                    {
                        "name": "-l --raw",
                        "lines": 20,
                        "flag": "-l",
                        "long": "--raw"
                    },
                    {
                        "name": "-C --csv",
                        "lines": 12,
                        "flag": "-C",
                        "long": "--csv"
                    },
                    {
                        "name": "-j --json",
                        "lines": 4,
                        "flag": "-j",
                        "long": "--json"
                    },
                    {
                        "name": "-p --split",
                        "lines": 3,
                        "flag": "-p",
                        "long": "--split"
                    },
                    {
                        "name": "-n --no-dns",
                        "lines": 3,
                        "flag": "-n",
                        "long": "--no-dns"
                    },
                    {
                        "name": "-b --show-ips",
                        "lines": 5,
                        "flag": "-b",
                        "long": "--show-ips"
                    },
                    {
                        "name": "-o --order",
                        "lines": 35,
                        "flag": "-o",
                        "long": "--order"
                    },
                    {
                        "name": "-y --ipinfo",
                        "lines": 10,
                        "flag": "-y",
                        "long": "--ipinfo"
                    },
                    {
                        "name": "-z --aslookup",
                        "lines": 12,
                        "flag": "-z",
                        "long": "--aslookup"
                    },
                    {
                        "name": "-i --interval",
                        "lines": 4,
                        "flag": "-i",
                        "long": "--interval"
                    },
                    {
                        "name": "-c --report-cycles",
                        "lines": 3,
                        "flag": "-c",
                        "long": "--report-cycles"
                    },
                    {
                        "name": "-s --psize",
                        "lines": 6,
                        "flag": "-s",
                        "long": "--psize"
                    },
                    {
                        "name": "-B --bitpattern",
                        "lines": 3,
                        "flag": "-B",
                        "long": "--bitpattern"
                    },
                    {
                        "name": "-G --gracetime",
                        "lines": 3,
                        "flag": "-G",
                        "long": "--gracetime"
                    },
                    {
                        "name": "-Q --tos",
                        "lines": 3,
                        "flag": "-Q",
                        "long": "--tos"
                    },
                    {
                        "name": "-e --mpls",
                        "lines": 3,
                        "flag": "-e",
                        "long": "--mpls"
                    },
                    {
                        "name": "-I --interface",
                        "lines": 4,
                        "flag": "-I",
                        "long": "--interface"
                    },
                    {
                        "name": "-a --address",
                        "lines": 4,
                        "flag": "-a",
                        "long": "--address"
                    },
                    {
                        "name": "-f --first-ttl",
                        "lines": 2,
                        "flag": "-f",
                        "long": "--first-ttl"
                    },
                    {
                        "name": "-m --max-ttl",
                        "lines": 3,
                        "flag": "-m",
                        "long": "--max-ttl"
                    },
                    {
                        "name": "-U --max-unknown",
                        "lines": 2,
                        "flag": "-U",
                        "long": "--max-unknown"
                    },
                    {
                        "name": "-u --udp",
                        "lines": 2,
                        "flag": "-u",
                        "long": "--udp"
                    },
                    {
                        "name": "-T --tcp",
                        "lines": 3,
                        "flag": "-T",
                        "long": "--tcp"
                    },
                    {
                        "name": "-S --sctp",
                        "lines": 2,
                        "flag": "-S",
                        "long": "--sctp"
                    },
                    {
                        "name": "-P --port",
                        "lines": 2,
                        "flag": "-P",
                        "long": "--port"
                    },
                    {
                        "name": "-L --localport",
                        "lines": 2,
                        "flag": "-L",
                        "long": "--localport"
                    },
                    {
                        "name": "-Z --timeout",
                        "lines": 4,
                        "flag": "-Z",
                        "long": "--timeout"
                    },
                    {
                        "name": "-M --mark",
                        "lines": 4,
                        "flag": "-M",
                        "long": "--mark"
                    }
                ]
            },
            {
                "name": "ENVIRONMENT",
                "lines": 22,
                "subsections": []
            },
            {
                "name": "INTERACTIVE CONTROL",
                "lines": 21,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "CONTACT INFORMATION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}