The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD misc : cstream

Like dd(1) tool, precise bandwidth limiting/reporting, fifo, TCP, audio support

 cstream is a general-purpose stream-handling tool like UNIX' dd,
usually used in commandline-constructed pipes.

- Sane commandline switch syntax.
- Exact throughput limiting, on the incoming side.
- Precise throughput reporting. Either at the end of the
  transmission or everytime SIGUSR1 is received. Quite useful to ask
  lengthy operations how much data has been transferred yet, i.e. when
  writing tapes. Reports are done in bytes/sec and if appropriate in
  KB/sec or MB/sec, where 1K = 1024.
- SIGHUP causes a clean shutdown before EOF on input.
- Build-in support to write its PID to a file.
- Build-in support for fifos. Example usage is a 'pseudo-device',
  something that sinks or delivers data at an appropriate rate, but
  looks like a file, i.e. if you test soundcard software.
- Built-in data creation and sink, no more redirection of
  /dev/null and /dev/zero. These special devices speed varies greatly
  among operating systems, redirecting from it isn't appropriate
  benchmarking and a waste of resources anyway.
-  "gcc -Wall" clean source code, serious effort taken to avoid
  undefined behavior in ANSI C or POSIX, except long long
  is required. Limiting and reporting works on data amounts > 4 GB.
- Audio support: input/output-files can be switched to Audi CD quality mode
- TCP support: input-output streams can be TCP connections, either
  connecting to other hosts or waiting for a host to connect 

http://www.cons.org/cracauer/cstream.html



cstream history


v. 1.25
date: 2007/09/18 20:12:37;  author: cracauer;  state: Exp;  lines: +3 -2
Update to 2.7.4.
Add new mirror.

v. 1.24 date: 2006/09/07 15:35:20; author: cracauer; state: Exp; lines: +1 -2 Clean up distfiles sources.
v. 1.23 date: 2006/06/22 16:55:35; author: cracauer; state: Exp; lines: +1 -1 Update to 2.7.3 which fixes compilation on FreeBSD-4.x.
v. 1.22 date: 2006/05/30 16:01:30; author: cracauer; state: Exp; lines: +1 -1 Fix last version which wouldn't compile.
v. 1.21 date: 2006/05/29 14:46:59; author: clsung; state: Exp; lines: +1 -1 - update to 2.7.1 PR: 97619 Submitted by: Martin Wilke Approved by: maintainer (Martin Cracauer)
v. 1.20 date: 2006/05/05 18:23:10; author: mnag; state: Exp; lines: +2 -2 - Update to 2.6.1 - portlint(1) PR: 95943 Submitted by: "Martin Wilke" Approved by: maintainer
v. 1.19 date: 2005/09/11 04:17:17; author: cracauer; state: Exp; lines: +1 -1 Update to 2.6.0. Previous versions had bandwidth limiting broken for > 4 GB stream sizes on 32 bit int architectures.
v. 1.18 date: 2005/07/27 15:14:09; author: cracauer; state: Exp; lines: +2 -2 Update to 2.5.2.
v. 1.17 date: 2004/12/15 17:17:02; author: cracauer; state: Exp; lines: +2 -2 Update to 2.5.1. Has SO_REUSEADDR, fixed 4 GB limit when using bandwidth limitation. See CHANGES in distfile.
v. 1.16 date: 2004/02/06 13:11:46; author: trevor; state: Exp; lines: +1 -0 Use PLIST_FILES (bento-tested, marcus-reviewed).
v. 1.15 date: 2003/02/21 12:48:06; author: knu; state: Exp; lines: +1 -0 De-pkg-comment.
v. 1.14 date: 2002/12/27 13:20:50; author: edwin; state: Exp; lines: +1 -4 Fixed master_sites, informed maintainer. Noticed by: portsurvey
v. 1.13 date: 2002/04/17 16:09:06; author: cracauer; state: Exp; lines: +2 -2 Update to version 2.3 (audio support, tcp improvements etc.) Strip down description and comment to make portlint happy.
v. 1.12 date: 2001/07/26 13:57:18; author: cracauer; state: Exp; lines: +2 -2 Update to 2.2
v. 1.11 date: 2001/01/16 17:31:39; author: sobomax; state: Exp; lines: +3 -3 Massive style enforcement - use ^I instead of spaces for variables identation.
v. 1.10 date: 2000/06/29 07:02:34; author: obrien; state: Exp; lines: +3 -2 Move the stragler's www.freebsd.org/~user distfiles to the offical MASTER_SITE_LOCAL site.
v. 1.9 date: 2000/04/14 08:45:31; author: asami; state: Exp; lines: +3 -3 Convert to PORTNAME/PORTVERSION.
v. 1.8 date: 2000/03/20 12:35:07; author: cracauer; state: Exp; lines: +2 -2 Update to 2.0.
v. 1.7 date: 2000/02/08 09:28:15; author: peter; state: Exp; lines: +2 -2 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user, as the days of the former are numbered. Reviewed by: asami
v. 1.6 date: 1999/08/25 07:21:23; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.5 date: 1999/05/18 12:27:38; author: cracauer; state: Exp; lines: +2 -2 Update to 1.4
v. 1.4 date: 1999/05/06 13:52:32; author: cracauer; state: Exp; lines: +2 -2 Update to version 1.3
v. 1.3 date: 1999/04/16 19:12:16; author: cracauer; state: Exp; lines: +2 -2 Update to 1.2
v. 1.2 date: 1999/04/13 16:24:36; author: cracauer; state: Exp; lines: +2 -2 Update to 1.1
v. 1.1 date: 1999/04/03 10:55:35; author: cracauer; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1999/04/03 10:55:35; author: cracauer; state: Exp; lines: +0 -0 cstream - dd(1)-like tool, precise bandwidth limiting/reporting, fifo support ============================================================================= v. 1.25 date: 2007/09/18 20:12:37; author: cracauer; state: Exp; lines: +3 -2 Update to 2.7.4. Add new mirror.
v. 1.24 date: 2006/09/07 15:35:20; author: cracauer; state: Exp; lines: +1 -2 Clean up distfiles sources.
v. 1.23 date: 2006/06/22 16:55:35; author: cracauer; state: Exp; lines: +1 -1 Update to 2.7.3 which fixes compilation on FreeBSD-4.x.
v. 1.22 date: 2006/05/30 16:01:30; author: cracauer; state: Exp; lines: +1 -1 Fix last version which wouldn't compile.
v. 1.21 date: 2006/05/29 14:46:59; author: clsung; state: Exp; lines: +1 -1 - update to 2.7.1 PR: 97619 Submitted by: Martin Wilke Approved by: maintainer (Martin Cracauer)
v. 1.20 date: 2006/05/05 18:23:10; author: mnag; state: Exp; lines: +2 -2 - Update to 2.6.1 - portlint(1) PR: 95943 Submitted by: "Martin Wilke" Approved by: maintainer
v. 1.19 date: 2005/09/11 04:17:17; author: cracauer; state: Exp; lines: +1 -1 Update to 2.6.0. Previous versions had bandwidth limiting broken for > 4 GB stream sizes on 32 bit int architectures.
v. 1.18 date: 2005/07/27 15:14:09; author: cracauer; state: Exp; lines: +2 -2 Update to 2.5.2.
v. 1.17 date: 2004/12/15 17:17:02; author: cracauer; state: Exp; lines: +2 -2 Update to 2.5.1. Has SO_REUSEADDR, fixed 4 GB limit when using bandwidth limitation. See CHANGES in distfile.
v. 1.16 date: 2004/02/06 13:11:46; author: trevor; state: Exp; lines: +1 -0 Use PLIST_FILES (bento-tested, marcus-reviewed).
v. 1.15 date: 2003/02/21 12:48:06; author: knu; state: Exp; lines: +1 -0 De-pkg-comment.
v. 1.14 date: 2002/12/27 13:20:50; author: edwin; state: Exp; lines: +1 -4 Fixed master_sites, informed maintainer. Noticed by: portsurvey
v. 1.13 date: 2002/04/17 16:09:06; author: cracauer; state: Exp; lines: +2 -2 Update to version 2.3 (audio support, tcp improvements etc.) Strip down description and comment to make portlint happy.
v. 1.12 date: 2001/07/26 13:57:18; author: cracauer; state: Exp; lines: +2 -2 Update to 2.2
v. 1.11 date: 2001/01/16 17:31:39; author: sobomax; state: Exp; lines: +3 -3 Massive style enforcement - use ^I instead of spaces for variables identation.
v. 1.10 date: 2000/06/29 07:02:34; author: obrien; state: Exp; lines: +3 -2 Move the stragler's www.freebsd.org/~user distfiles to the offical MASTER_SITE_LOCAL site.
v. 1.9 date: 2000/04/14 08:45:31; author: asami; state: Exp; lines: +3 -3 Convert to PORTNAME/PORTVERSION.
v. 1.8 date: 2000/03/20 12:35:07; author: cracauer; state: Exp; lines: +2 -2 Update to 2.0.
v. 1.7 date: 2000/02/08 09:28:15; author: peter; state: Exp; lines: +2 -2 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user, as the days of the former are numbered. Reviewed by: asami
v. 1.6 date: 1999/08/25 07:21:23; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.5 date: 1999/05/18 12:27:38; author: cracauer; state: Exp; lines: +2 -2 Update to 1.4
v. 1.4 date: 1999/05/06 13:52:32; author: cracauer; state: Exp; lines: +2 -2 Update to version 1.3
v. 1.3 date: 1999/04/16 19:12:16; author: cracauer; state: Exp; lines: +2 -2 Update to 1.2
v. 1.2 date: 1999/04/13 16:24:36; author: cracauer; state: Exp; lines: +2 -2 Update to 1.1
v. 1.1 date: 1999/04/03 10:55:35; author: cracauer; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1999/04/03 10:55:35; author: cracauer; state: Exp; lines: +0 -0 cstream - dd(1)-like tool, precise bandwidth limiting/reporting, fifo support ============================================================================= v. 1.25 date: 2007/09/18 20:12:37; author: cracauer; state: Exp; lines: +3 -2 Update to 2.7.4. Add new mirror.
v. 1.24 date: 2006/09/07 15:35:20; author: cracauer; state: Exp; lines: +1 -2 Clean up distfiles sources.
v. 1.23 date: 2006/06/22 16:55:35; author: cracauer; state: Exp; lines: +1 -1 Update to 2.7.3 which fixes compilation on FreeBSD-4.x.
v. 1.22 date: 2006/05/30 16:01:30; author: cracauer; state: Exp; lines: +1 -1 Fix last version which wouldn't compile.
v. 1.21 date: 2006/05/29 14:46:59; author: clsung; state: Exp; lines: +1 -1 - update to 2.7.1 PR: 97619 Submitted by: Martin Wilke Approved by: maintainer (Martin Cracauer)
v. 1.20 date: 2006/05/05 18:23:10; author: mnag; state: Exp; lines: +2 -2 - Update to 2.6.1 - portlint(1) PR: 95943 Submitted by: "Martin Wilke" Approved by: maintainer
v. 1.19 date: 2005/09/11 04:17:17; author: cracauer; state: Exp; lines: +1 -1 Update to 2.6.0. Previous versions had bandwidth limiting broken for > 4 GB stream sizes on 32 bit int architectures.
v. 1.18 date: 2005/07/27 15:14:09; author: cracauer; state: Exp; lines: +2 -2 Update to 2.5.2.
v. 1.17 date: 2004/12/15 17:17:02; author: cracauer; state: Exp; lines: +2 -2 Update to 2.5.1. Has SO_REUSEADDR, fixed 4 GB limit when using bandwidth limitation. See CHANGES in distfile.
v. 1.16 date: 2004/02/06 13:11:46; author: trevor; state: Exp; lines: +1 -0 Use PLIST_FILES (bento-tested, marcus-reviewed).
v. 1.15 date: 2003/02/21 12:48:06; author: knu; state: Exp; lines: +1 -0 De-pkg-comment.
v. 1.14 date: 2002/12/27 13:20:50; author: edwin; state: Exp; lines: +1 -4 Fixed master_sites, informed maintainer. Noticed by: portsurvey
v. 1.13 date: 2002/04/17 16:09:06; author: cracauer; state: Exp; lines: +2 -2 Update to version 2.3 (audio support, tcp improvements etc.) Strip down description and comment to make portlint happy.
v. 1.12 date: 2001/07/26 13:57:18; author: cracauer; state: Exp; lines: +2 -2 Update to 2.2
v. 1.11 date: 2001/01/16 17:31:39; author: sobomax; state: Exp; lines: +3 -3 Massive style enforcement - use ^I instead of spaces for variables identation.
v. 1.10 date: 2000/06/29 07:02:34; author: obrien; state: Exp; lines: +3 -2 Move the stragler's www.freebsd.org/~user distfiles to the offical MASTER_SITE_LOCAL site.
v. 1.9 date: 2000/04/14 08:45:31; author: asami; state: Exp; lines: +3 -3 Convert to PORTNAME/PORTVERSION.
v. 1.8 date: 2000/03/20 12:35:07; author: cracauer; state: Exp; lines: +2 -2 Update to 2.0.
v. 1.7 date: 2000/02/08 09:28:15; author: peter; state: Exp; lines: +2 -2 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user, as the days of the former are numbered. Reviewed by: asami
v. 1.6 date: 1999/08/25 07:21:23; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.5 date: 1999/05/18 12:27:38; author: cracauer; state: Exp; lines: +2 -2 Update to 1.4
v. 1.4 date: 1999/05/06 13:52:32; author: cracauer; state: Exp; lines: +2 -2 Update to version 1.3
v. 1.3 date: 1999/04/16 19:12:16; author: cracauer; state: Exp; lines: +2 -2 Update to 1.2
v. 1.2 date: 1999/04/13 16:24:36; author: cracauer; state: Exp; lines: +2 -2 Update to 1.1
v. 1.1 date: 1999/04/03 10:55:35; author: cracauer; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1999/04/03 10:55:35; author: cracauer; state: Exp; lines: +0 -0 cstream - dd(1)-like tool, precise bandwidth limiting/reporting, fifo support =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm