File: mtr.8

package info (click to toggle)
mtr 0.48-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 488 kB
  • ctags: 428
  • sloc: ansic: 3,348; sh: 285; makefile: 78
file content (239 lines) | stat: -rw-r--r-- 4,299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
.TH MTR 8 "March 4, 1999" "mtr" "mtr"


.SH NAME
mtr \- a network diagnostic tool


.SH SYNOPSIS
.B mtr 
[\c
.B \-hvrctglsni\c
]
[\c
.B \-\-help\c
]
[\c
.B \-\-version\c
]
[\c
.B \-\-report\c
]
[\c
.B \-\-report\-cycles\ COUNT\c
]
[\c
.B \-\-curses\c
]
[\c
.B \-\-split\c
]
[\c
.B \-\-raw\c
]
[\c
.B \-\-no-dns\c
]
[\c
.B \-\-gtk\c
]
[\c
.B \-\-address\ IP.ADD.RE.SS\c
]
[\c
.B \-\-interval\ SECONDS\c
]
[\c
.B \-\-psize\ BYTES | -p BYTES\c
]
.B HOSTNAME [PACKETSIZE]


.SH DESCRIPTION

.B mtr 
combines the functionality of the 
.B traceroute
and 
.B ping
programs in a single network diagnostic tool.

.PP
As 
.B mtr 
starts, it investigates the network connection between the host 
.B mtr
runs on and 
.BR HOSTNAME . 
After it determines the address of each network hop between the
machines, it sends a sequence ICMP ECHO requests to each one to
determine the quality of the link to each machine.  As it does this,
it prints running statistics about each machine.


.SH OPTIONS

.TP
.B \-h
.TP
.B \-\-help
.br
Print the summary of command line argument options.

.TP
.B \-v
.TP
.B \-\-version
.br
Print the installed version of mtr.  

.TP
.B \-r
.TP
.B \-\-report
.br
This option puts 
.B mtr
into 
.B report
mode.  When in this mode,
.B mtr
will run for the number of cycles specified by the 
.B \-c
option, and then print statistics and exit.  
.TP
\c
This mode is useful for generating statistics about network quality.  
Note that each running instance of 
.B mtr
generates a significant amount of network traffic.  Using 
.B mtr
to measure the quality of your network may result in decreased
network performance.  

.TP
.B \-c\ COUNT
.TP
.B \-\-report\-cycles\ COUNT
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.  This option
is only useful with the
.B -r
option. 

.TP
.B \-p\ BYTES
.TP
.B \-\-psize\ BYTES
.TP
.B PACKETSIZE
These options or a trailing PACKETSIZE on the commandline sets 
the packet size used for probing.
It is in bytes inclusive IP and ICMP headers
.TP
.B \-t
.TP
.B \-\-curses
.br
Use this option to force 
.B mtr 
to use the curses based terminal
interface (if available).

.TP
.B \-n
.TP
.B \-\-no-dns
.br
Use this option to force 
.B mtr 
to display numeric IP numbers and not try to resolve the
host names. 

.TP
.B \-g
.TP
.B \-\-gtk
.br
Use this option to force
.B mtr 
to use the GTK+ based X11 window interface (if available).  
GTK+ must have been available on the system when 
.B mtr 
was built for this to work.  See the GTK+ web page at 
.B http://www.gimp.org/gtk/
for more information about GTK+.

.TP
.B \-s
.TP
.B \-\-split
.br
Use this option to set
.B mtr 
to spit out a format that is suitable for a split-user interface.

.TP
.B \-l
.TP
.B \-\-raw
.br
Use this option to tell 
.B mtr 
to use the raw output format. This format is better suited for
archival of the measurement results. It could be parsed to 
be presented into any of the other display methods. 

.TP
.B \-a\ IP.ADD.RE.SS
.TP
.B \-\-address\ IP.ADD.RE.SS
.br
Use this option to bind outgoing packets' socket to specific interface,
so that any packet will be sent through this interface. NOTE that this
option doesn't apply to DNS requests (which could be and could not be 
what you want).

.TP
.B \-i\ SECONDS
.TP
.B \-\-interval\ SECONDS
.br
Use this option to specify the positive number of seconds between ICMP
ECHO requests.  The default value for this parameter is one second.

.SH BUGS

Some modern routers give a lower priority to ICMP ECHO packets than 
to other network traffic.  Consequently, the reliability of these
routers reported by 
.B mtr
will be significantly lower than the actual reliability of 
these routers.  


.SH CONTACT INFORMATION

.PP
For the latest version, see the mtr web page at 
.BR http://www.bitwizard.nl/mtr/ .

.PP
Subscribe to the mtr mailing list.  All mtr related announcements
are posted to the mtr mailing list.  To subscribe, send email to
.B majordomo@lists.xmission.com
with 
.B subscribe\ mtr
in the body of the message.  To send a message to the mailing list, mail to 
.BR mtr@lists.xmission.com .

.PP
Bug reports and feature requests should be sent to the mtr
mailing list.


.SH "SEE ALSO"

traceroute(8),
ping(8).