From a6158c2974a88b236772ffe54b9355617962fbf7 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Mon, 5 Jun 2000 13:25:37 +0000 Subject: Add tmetric, a raw tool to aid in determining available bandwidth between two hosts. PR: 19017 Submitted by: Yen-Ming Lee --- benchmarks/tmetric/Makefile | 18 ++++++++++++++++++ benchmarks/tmetric/distinfo | 1 + benchmarks/tmetric/files/patch-aa | 17 +++++++++++++++++ benchmarks/tmetric/pkg-comment | 1 + benchmarks/tmetric/pkg-descr | 12 ++++++++++++ benchmarks/tmetric/pkg-plist | 1 + 6 files changed, 50 insertions(+) create mode 100644 benchmarks/tmetric/Makefile create mode 100644 benchmarks/tmetric/distinfo create mode 100644 benchmarks/tmetric/files/patch-aa create mode 100644 benchmarks/tmetric/pkg-comment create mode 100644 benchmarks/tmetric/pkg-descr create mode 100644 benchmarks/tmetric/pkg-plist (limited to 'benchmarks/tmetric') diff --git a/benchmarks/tmetric/Makefile b/benchmarks/tmetric/Makefile new file mode 100644 index 000000000000..a6a7e13d5d7f --- /dev/null +++ b/benchmarks/tmetric/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: tmetric +# Date created: June 5th 2000 +# Whom: Yen-Ming Lee +# +# $FreeBSD$ +# + +PORTNAME= tmetric +PORTVERSION= v0.2 +CATEGORIES= benchmarks net +MASTER_SITES= http://netgraft.com/projects/tmetric/ + +MAINTAINER= leeym@cae.ce.ntu.edu.tw + +HAS_CONFIGURE= yes +MAN8= tmetric.8 + +.include diff --git a/benchmarks/tmetric/distinfo b/benchmarks/tmetric/distinfo new file mode 100644 index 000000000000..54fbbc18ba5d --- /dev/null +++ b/benchmarks/tmetric/distinfo @@ -0,0 +1 @@ +MD5 (tmetric-v0.2.tar.gz) = 79dbfc3b9c98a6cab08e5074121e2684 diff --git a/benchmarks/tmetric/files/patch-aa b/benchmarks/tmetric/files/patch-aa new file mode 100644 index 000000000000..4b602edee368 --- /dev/null +++ b/benchmarks/tmetric/files/patch-aa @@ -0,0 +1,17 @@ +--- Makefile.in.orig Thu Apr 20 09:34:21 2000 ++++ Makefile.in Mon Jun 5 20:54:52 2000 +@@ -10,11 +10,13 @@ + MANDIR = /usr/local/man/man8 + MANPAGE = tmetric.8 + ++all: $(OUTPUT) ++ + $(OUTPUT): $(OBJ) + $(CC) $(LIBS) $(LDFLAGS) $(OBJ) -o $(OUTPUT) + + install: $(OUTPUT) +- $(INSTALL) $(OUTPUT) $(BINDIR) ++ $(INSTALL) -m 4755 $(OUTPUT) $(BINDIR) + $(INSTALL) $(MANPAGE) $(MANDIR) + + clean: diff --git a/benchmarks/tmetric/pkg-comment b/benchmarks/tmetric/pkg-comment new file mode 100644 index 000000000000..b1242cb30385 --- /dev/null +++ b/benchmarks/tmetric/pkg-comment @@ -0,0 +1 @@ +Tmetric is a raw tool to aid in finding available bandwidth on a given pipe diff --git a/benchmarks/tmetric/pkg-descr b/benchmarks/tmetric/pkg-descr new file mode 100644 index 000000000000..6a18a26b7410 --- /dev/null +++ b/benchmarks/tmetric/pkg-descr @@ -0,0 +1,12 @@ +Tmetric is a (still raw) tool to aid in determining the available bandwidth +from one host to another. It is inspired by the (closed source) pathchar +utility. Please do not assume that this program works exactly like pathchar +does. It only attempts to report the bandwidth between 2 hosts, and not the +bandwidth available at every hop on a route along the way. + +I've only tried compiling this on FreeBSD and Linux. There is some strange +behavior if your system has an outdated or limited FPU. My (oldassed) sparc +(this web server), for example, doesn't handle the floating point precision +types correctly for my tests. Oh well. + +Michael Bacarella diff --git a/benchmarks/tmetric/pkg-plist b/benchmarks/tmetric/pkg-plist new file mode 100644 index 000000000000..d30e59106475 --- /dev/null +++ b/benchmarks/tmetric/pkg-plist @@ -0,0 +1 @@ +sbin/tmetric -- cgit v1.2.3