Lines 1-27
Link Here
|
1 |
cstream is a general-purpose stream-handling tool like UNIX' dd, |
1 |
Cstream filters data streams, much like the UNIX tool dd(1). It has a more |
2 |
usually used in commandline-constructed pipes. |
2 |
traditional commandline syntax, support for precise bandwidth limiting and |
|
|
3 |
reporting and support for FIFOs. Data limits and throughput rate |
4 |
calculation will work for files > 4 GB. |
3 |
|
5 |
|
4 |
- Sane commandline switch syntax. |
6 |
Cstream reads from the standard input and writes to the standard output, if |
5 |
- Exact throughput limiting, on the incoming side. |
7 |
no filenames are given. It will also 'generate' or 'sink' data if desired. |
6 |
- Precise throughput reporting. Either at the end of the |
|
|
7 |
transmission or everytime SIGUSR1 is received. Quite useful to ask |
8 |
lengthy operations how much data has been transferred yet, i.e. when |
9 |
writing tapes. Reports are done in bytes/sec and if appropriate in |
10 |
KB/sec or MB/sec, where 1K = 1024. |
11 |
- SIGHUP causes a clean shutdown before EOF on input. |
12 |
- Build-in support to write its PID to a file. |
13 |
- Build-in support for fifos. Example usage is a 'pseudo-device', |
14 |
something that sinks or delivers data at an appropriate rate, but |
15 |
looks like a file, i.e. if you test soundcard software. |
16 |
- Built-in data creation and sink, no more redirection of |
17 |
/dev/null and /dev/zero. These special devices speed varies greatly |
18 |
among operating systems, redirecting from it isn't appropriate |
19 |
benchmarking and a waste of resources anyway. |
20 |
- "gcc -Wall" clean source code, serious effort taken to avoid |
21 |
undefined behavior in ANSI C or POSIX, except long long |
22 |
is required. Limiting and reporting works on data amounts > 4 GB. |
23 |
- Audio support: input/output-files can be switched to Audi CD quality mode |
24 |
- TCP support: input-output streams can be TCP connections, either |
25 |
connecting to other hosts or waiting for a host to connect |
26 |
|
8 |
|
27 |
WWW: http://www.cons.org/cracauer/cstream.html |
9 |
WWW: http://www.cons.org/cracauer/cstream.html |