You can use Traceroute and ping utility in single command and its a default utility in Linux, you don't need to install any packages on Linux.
mtr - combines the functionality of the traceroute and ping programs in a single network diagnostic tool.
mtr google.com
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"
Syntax: mtr google.com
mtr --show-ip google.com
Note: --show-ip -> Use this option to tell mtr to display both the host names and numeric IP numbers.
It will ping the destination as well as perform the traceroute.
mtr - combines the functionality of the traceroute and ping programs in a single network diagnostic tool.
mtr google.com
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"
Syntax: mtr google.com
mtr --show-ip google.com
Note: --show-ip -> Use this option to tell mtr to display both the host names and numeric IP numbers.
It will ping the destination as well as perform the traceroute.
Comments