From 56718849003acc568d0179c5cf21b7b70e881aad Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 23 May 2005 15:10:33 +0000 Subject: Mtr.xml package configuration file. Submitted-by: simond _AT_ irrelevant.org --- packages/mtr.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 packages/mtr.xml (limited to 'packages/mtr.xml') diff --git a/packages/mtr.xml b/packages/mtr.xml new file mode 100644 index 00000000..b0dd13bf --- /dev/null +++ b/packages/mtr.xml @@ -0,0 +1,48 @@ + + + mtr + 0.65_2 + Diagnostics: mtr + true + yes + mtr + + + mtr + mtr combines the functionality of the "traceroute" and "ping" programs into a single network diagnostic tool +
Diagnostics
+ mtr.xml +
+ + + + IP or Hostname + hostname + Enter the IP address or hostname that you would like to traceroute to. + input + + + 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 + + + + + + $mtr_options = " -r"; + if($_POST['count']) $mtr_options .= " -c " . $_POST['count']; + if($_POST['nodns']) $mtr_options .= " -n"; + $mtr_options .= " " . $_POST['hostname']; + system("/usr/local/sbin/mtr" . $mtr_options); + +
-- cgit v1.2.3