Describe your package here Describe your package requirements here Currently there are no FAQ items provided. mtr 0.85_3 Diagnostics: mtr Run mtr yes true mtr mtr combines the functionality of the "traceroute" and "ping" programs into a single network diagnostic tool
Diagnostics
mtr-nox11.xml
IP or Hostname hostname Enter the IP address or hostname that you would like to traceroute to. input true Count count This is the number of pings to send, each one takes 1 second. input (Defaults to 10) No DNS Lookup nodns Use this option to force mtr to display numeric IP numbers and not try to resolve the host names. checkbox Show IPs showips Use this option to tell mtr to display both the host names and numeric IP numbers. checkbox Raw Output Format raw Use this option to tell mtr to use the raw output format. checkbox Interval interval Use this option to specify the positive number of seconds between ICMP ECHO requests. input (Default is 1 second.) Use IPv4 only ipv4only Use this option to use IPv4 only. checkbox ERROR: No valid IP or Hostname given. Fix this and try again!"; echo "\n"; die(); } /* Set up the configured options */ /* Use wide report mode to not cut hostnames in the report */ $mtr_options = " -w"; $mtr_options .= " -c " . $int_count; if ($_POST['nodns']) { $mtr_options .= " -n"; } if ($_POST['showips']) { $mtr_options .= " -b"; } if ($_POST['raw']) { $mtr_options .= " -l"; } $mtr_options .= " -i " . $int_interval; if ($_POST['ipv4only']) { $mtr_options .= " -4"; } $mtr_options .= " " . $_POST['hostname']; echo "Running mtr $mtr_options:\n\n"; system("/usr/local/sbin/mtr" . $mtr_options); echo "\n"; ]]>