![]() You can customize the maximum number of hops to try between your local system and the remote machine by specifying the time, in seconds, with the m flag. Specify the maximum number of hops between the local system and the remote machine If you want to use TCP SYN or UDP datagrams to request mtr instead of the default ICMP ECHO requests, you can do so by using the tcp and udp flags respectively.ħ. Specify the time interval between ICMP ECHO requestsĪlthough the default time interval between each ICMP and ECHO request is 1 second in the mtr command, you can change it by using the i flag to specify a new time interval. The mtr man page can help you with the options you have while customizing the mtr report columns.Įxample: $ mtr -o "LSDR NBAW JMXI" ĥ. The o flag allows you to custom rearrange the output to make it more useful and productive. When you view the output of the mtr report, you'll notice that the columns are arranged in a specific default way. $ metro –rw -c “domain name/IP” > “report name”Įxample: mtr -rw -c 10 >mtr-report-google However, you can specify a suitable path to save the report.Īdding an aw flag with the r flag will allow mtr to print a fairly clean and more readable report for traceroute. The report is saved in the current user's home folder by default. $ metro -r -c “domain name/IP” > “report name”Įxample: $ mtr -r -c 10 >mtr-report-google ![]() All you need to do is enable reporting mode via the r flag, specify a ping count to which you want to limit reporting via the c flag, and also specify the report filename to which the report will be saved. This way you can record the network analysis for later use and observation. ![]() Instead of printing the output of the mtr command to the screen, you can enable report mode which will instead print the output to a text file.
0 Comments
Leave a Reply. |