|
⇤ ← Revision 1 as of 2022-07-17 05:46:11
Size: 1132
Comment:
|
← Revision 2 as of 2022-07-18 08:32:23 ⇥
Size: 1187
Comment: cleanup
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| '''mtr''' combines the functionality of the traceroute and ping programs in a single network diagnostic tool. | DebianPackage:mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool. |
| Line 3: | Line 3: |
| As mtr starts, it investigates the network connection between the host mtr runs on and HOSTNAME. by sending packets with purposly low TTLs. It continues to send packets with low TTL, noting the response time of the intervening routers. This allows mtr to print the response percentage and response times of the internet route to HOSTNAME. A sudden increase in packetloss or response time is often an indication of a bad (or simply overloaded) link. | As mtr starts, it investigates the network connection between the host mtr runs on and HOSTNAME. by sending packets with purposely low TTLs. It continues to send packets with low TTL, noting the response time of the intervening routers. This allows mtr to print the response percentage and response times of the internet route to HOSTNAME. A sudden increase in packet loss or response time is often an indication of a bad (or simply overloaded) link. |
| Line 6: | Line 6: |
| Line 9: | Line 10: |
| Line 10: | Line 12: |
| Line 14: | Line 17: |
| Line 16: | Line 20: |
| * If you never want the GUI, install mtr-tiny instead of mtr. It's the curses-only version. |
* If you never want the GUI, install DebianPackage:mtr-tiny instead of DebianPackage:mtr. It's the curses-only version. |
| Line 19: | Line 22: |
| * If you want to be able to use the GUI sometimes, then use the --curses | * If you want to be able to use the GUI sometimes, then use the --curses |
| Line 23: | Line 26: |
| Run and add following line to ~/.bashrc or similar file: | Run and add following line to {{{~/.bashrc}}} or similar file: |
mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.
As mtr starts, it investigates the network connection between the host mtr runs on and HOSTNAME. by sending packets with purposely low TTLs. It continues to send packets with low TTL, noting the response time of the intervening routers. This allows mtr to print the response percentage and response times of the internet route to HOSTNAME. A sudden increase in packet loss or response time is often an indication of a bad (or simply overloaded) link.
Installation
sudo apt install mtr
Usage
mtr 1.1.1.1 man mtr
By default it loads the GUI. To display the results in CLI, there's two different ways to do this:
If you never want the GUI, install mtr-tiny instead of mtr. It's the curses-only version.
- If you want to be able to use the GUI sometimes, then use the --curses
command line option when you want the CLI version. You can use a shell alias for this if you want:
Run and add following line to ~/.bashrc or similar file:
alias mtr='mtr --curses'
