LogoopenSUSE Build Service > Projects
Sign Up | Log In

Measures bandwidth and throughput by writing or reading from stdout/stdin.

At least one out of standard input or standard output must not be
a terminal. The output of ttest is written to stderr.
The arithmetic averages correspond to 1, 5 and 15 minute averages,
similar to the load average of a Linux system. To avoid overly 
large values from asynchronously writing to buffer caches in the
beginning, the calculation of the 1, 5 and 15 minute averages 
starts after 10 seconds.

* to measure the throughput of your storage device
$ ttest 100k > foo
$ ttest 10m < foo
* throughput of a network link:
-  receiver side:
$ netcat -lp 10001 | ttest 10k
-  sender side:
$ ttest 10k > /dev/tcp/receiver.host.name/10001
note: There is no such file as /dev/tcp/host/port. This is a bash feature.

Source Files

Filename Size Changed Actions
ttest-0.7.tar.gz 4.5 KB Download File
ttest.changes 377 Bytes Download File
ttest.spec 1.49 KB Download File

Comments for home:draht (0)

Login required, please login or signup in order to comment