-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tim Foerster <tim.foerster@hetzner.de>
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# MTR | ||
|
||
A MTR implementation written in golang, completly without shell-execs. | ||
|
||
**Note: This tool mayby called with sudo or as root, because it will open raw sockets.** | ||
|
||
## Output | ||
|
||
*Currently there is no support for non ipv4 targets* | ||
|
||
``` | ||
HOP: Address Loss% Sent Last Avg Best Worst Packets | ||
1:|-- 10.200.1.1 0.0% 6 1.4 1.8 1.2 3.2 ..... | ||
2:|-- 192.168.2.1 0.0% 6 3.3 3.1 2.4 3.5 ..... | ||
3:|-- 62.155.247.163 0.0% 6 10.9 11.6 10.9 12.6 ..... | ||
4:|-- 217.5.95.170 0.0% 6 24.5 24.9 24.5 26.0 ..... | ||
5:|-- 72.14.194.156 0.0% 6 23.9 25.1 23.2 30.4 ..... | ||
6:|-- ??? 100.0% 6 0.0 0.0 0.0 0.0 ????? | ||
7:|-- 209.85.142.128 0.0% 6 24.5 24.9 23.6 25.8 ..... | ||
8:|-- 108.170.227.227 0.0% 6 25.4 25.6 24.0 30.0 ..... | ||
9:|-- 8.8.8.8 0.0% 5 23.9 24.2 23.6 25.0 .... | ||
``` | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: | ||
mtr TARGET [flags] | ||
Flags: | ||
--buffer-size int Cached packet buffer size (default 50) | ||
-c, --count int Amount of pings per target (default 5) | ||
-h, --help help for mtr | ||
-i, --interval duration Wait time between icmp packets before sending new one (default 100ms) | ||
--max-hops int Maximal TTL count (default 64) | ||
-t, --timeout duration ICMP reply timeout (default 800ms) | ||
``` | ||
|