1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

The program thrulay is used to measure the capacity, delay, and

other performance metrics of a network by sending a bulk TCP or UDP
stream over it.

Special features of thrulay include:
* For TCP, ability to measure round-trip delay along with throughput
* For UDP, ability to measure
  - one-way delay, with quantiles
  - packet loss
  - packet duplication
  - reordering
* For UDP, the ability to send precisely positioned true Poisson streams
  (microsecond errors in sending times)
* Human- and machine-readable output (ready to be fed to gnuplot)

WWW: http://www.internet2.edu/~shalunov/thrulay/

PR:		ports/87683
Submitted by:	Stanislav Shalunov <shalunov@internet2.edu>
This commit is contained in:
Sergey Matveychuk 2005-10-20 19:32:15 +00:00
parent 721a3d44b6
commit d43148058e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145963
7 changed files with 72 additions and 0 deletions

View File

@ -43,6 +43,7 @@
SUBDIR += siege
SUBDIR += stream
SUBDIR += tcpblast
SUBDIR += thrulay
SUBDIR += tmetric
SUBDIR += ttcp
SUBDIR += ubench

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: thrulay
# Date created: 2005-10-19
# Whom: shalunov
#
# $FreeBSD$
PORTNAME= thrulay
PORTVERSION= 0.8
CATEGORIES= benchmarks net ipv6
MASTER_SITES= http://unc.dl.sourceforge.net/sourceforge/thrulay/ \
http://internap.dl.sourceforge.net/sourceforge/thrulay/ \
http://www.internet2.edu/~shalunov/thrulay/
MAINTAINER= shalunov@internet2.edu
COMMENT= Network capacity tester
MAN1= thrulay.1
MAN8= thrulayd.8
MANCOMPRESSED= no
USE_GCC= 3.2+
HAS_CONFIGURE= yes
USE_GMAKE= yes
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/thrulayd.sh.sample ${PREFIX}/etc/rc.d/
@if [ ! -f ${PREFIX}/etc/rc.d/thrulayd.sh ]; then \
${CP} -p ${PREFIX}/etc/rc.d/thrulayd.sh.sample \
${PREFIX}/etc/rc.d/thrulayd.sh ; \
fi
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (thrulay-0.8.tar.gz) = 725fb13344608a652e818bcd16fe9ef6

View File

@ -0,0 +1,14 @@
#!/bin/sh
thrulayd=/usr/local/sbin/thrulayd
case "$1" in
start)
[ -x $thrulayd ] && $thrulayd && echo -n ' thrulayd'
;;
*)
echo "Usage: `basename $0` {start}" >&2
;;
esac
exit 0

View File

@ -0,0 +1,16 @@
The program thrulay is used to measure the capacity, delay, and
other performance metrics of a network by sending a bulk TCP or UDP
stream over it.
Special features of thrulay include:
* For TCP, ability to measure round-trip delay along with throughput
* For UDP, ability to measure
- one-way delay, with quantiles
- packet loss
- packet duplication
- reordering
* For UDP, the ability to send precisely positioned true Poisson streams
(microsecond errors in sending times)
* Human- and machine-readable output (ready to be fed to gnuplot)
WWW: http://www.internet2.edu/~shalunov/thrulay/

View File

@ -0,0 +1,4 @@
The package consists of a client (thrulay) and a daemon (thrulayd).
The thrulay client is usable immediately. The thrulayd deamon needs to be
started, which will happen automatically in the next boot cycle. You may
also start it manually by entering thrulayd as root.

View File

@ -0,0 +1,5 @@
bin/thrulay
sbin/thrulayd
@unexec if cmp -s %D/etc/rc.d/thrulayd.sh.sample %D/etc/rc.d/thrulayd.sh; then rm -f %D/etc/rc.d/thrulayd.sh; fi
etc/rc.d/thrulayd.sh.sample
@exec if [ ! -f %D/etc/rc.d/thrulayd.sh ] ; then cp -p %D/%F %B/thrulayd.sh; fi