pipebench - Man Page

Shows speed of stdin/stdout communication

Synopsis

pipebench [ -ehqQIoru ] [ -s file | -S file ]  [ -b bufsize ]

Description

Measures the speed of stdin/stdout communication.

Options

-h

Displays a help message and exits.

-e

If an error occurs, exit (breaking the pipe between stdin and stdout. By default an error message is printed to stderr and the program continues.

-q

Only show summary stats.

-Q

Don't show running speed or summary stats. Same as -q -o. Can be used to play with buffer size.

-o

Don't show summary.

-b bufsize

Use this buffer size, in bytes.

-r

Just show raw speed, no fancy stuff. And no summary.

-s file

Write status to file instead of stderr.

-S file

Write status to file instead of stderr.

-I

Use 1kB = 1000B, instead of the default 1024B.

-u

Don't convet to units (kilo, Mega, etc...)

Examples

Benchmark and show progress of backup
# (cd /home/; tar cf - .) | pipebench | (cd /mnt/backup/; tar xf -)

A number to brag to your friends about
$ dd if=/dev/zero bs=80k count=60k 2> /dev/null | ./pipebench -q > /dev/null

Bugs

No known bugs... yet.

See Also

dd(1), cat(1)

Author

Pipebench was written by Thomas Habets <thomas@habets.pp.se>

Info

18th Apr, 2003