--- embedaddon/mtr/man/mtr.8.in 2019/10/21 14:25:31 1.1.1.1 +++ embedaddon/mtr/man/mtr.8.in 2021/03/17 00:07:30 1.1.1.2 @@ -77,6 +77,9 @@ mtr \- a network diagnostic tool .B \-\-mpls\c ] [\c +.BI \-I \ NAME\c +] +[\c .BI \-a \ ADDRESS\c ] [\c @@ -135,7 +138,7 @@ A sudden increase in packet loss or response time is o of a bad (or simply overloaded) link. .PP The results are usually reported as round-trip-response times in milliseconds -and the percentage of packetloss. +and the percentage of packet loss. .SH OPTIONS .TP .B \-h\fR, \fB\-\-help @@ -264,6 +267,9 @@ Use this option to tell .B 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 +.B mtr +was built for this to work. .TP .B \-p\fR, \fB\-\-split Use this option to set @@ -377,6 +383,12 @@ Use this option to tell to display information from ICMP extensions for MPLS (RFC 4950) that are encoded in the response packets. .TP +.B \-I \fINAME\fR, \fB\-\-interface \fINAME +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. +.TP .B \-a \fIADDRESS\fR, \fB\-\-address \fIADDRESS Use this option to bind the outgoing socket to .IR ADDRESS , @@ -429,9 +441,9 @@ for full description of this socket option. recognizes a few environment variables. .TP .B MTR_OPTIONS -This environment variable allows to specify options, as if they were -passed on the command line. It is parsed before reading the actual -command line options, so that options specified in +This environment variable allows one to specify options, as if they +were passed on the command line. It is parsed before reading the +actual command line options, so that options specified in .B MTR_OPTIONS are overridden by command-line options. @@ -466,6 +478,28 @@ executable. .TP .B DISPLAY Specifies an X11 server for the GTK+ frontend. +.SH INTERACTIVE CONTROL +.B mtr +can be controlled while it is running with the following keys: + ?|h help + p pause (SPACE to resume) + d switching display mode + e toggle MPLS information on/off + n toggle DNS on/off + r reset all counters + o str set the columns to display, default str='LRS N BAWV' + j toggle latency(LS NABWV)/jitter(DR AGJMXI) stats + c report cycle n, default n=infinite + i set the ping interval to n seconds, default n=1 + f set the initial time-to-live(ttl), default n=1 + m set the max time-to-live, default n= # of hops + s set the packet size to n or random(n<0) + b set ping bit pattern to c(0..255) or random(c<0) + Q set ping packet's TOS to t + u switch between ICMP ECHO and UDP datagrams + y switching IP info + z toggle ASN info on/off + q exit .SH BUGS Some modern routers give a lower priority to ICMP ECHO packets than to other network traffic. Consequently, the reliability of these