cstream 类Linux的dd工具

程序名称:cstream

授权协议: MIT/X

操作系统: Linux

开发语言: C/C++

cstream 介绍

cstream 是一个类似 Linux 下的 dd 工具,用来处理数据流的工具。

cstream by Martin Cracauer - version 3.0.0
-V     = print version number to stdout and exit with 0
-v <n> = verbose [default: off]
         0 = nothing
         1 = report bytes transferred and throughput
         2 = also throughput after first read/write
         3 = also seperate throughput for read and write (unimplemented)
         3 = verbose stats on every read/write
-b <n> = blocksize [default: 8192]
-B <n> = buffer (at most) <n> bytes [default: one block]
-c <n> = Concurrency, writing done by a seperate process
         0 = no concurrency, one one process
         1 = read side buffers
         2 = write side buffers
         3 = both sides buffer, -B amount of data will be transferred at once
-n <n> = overall size of data [default: unlimited]
-t <n> = throughput in bytes/sec [default: unlimited]
         if positive, bandwith is average over whole session.
         if negative, every write is delayed to not excceed.
-i <s> = name of input file, - = generate stream yourself
         to use stdin, use -i ''
-o <s> = name of output file, - = just sink data
         to use stdout, -o ''
-I <s> = Type of input file
-O <s> = Type of ouput file
         'f' = fifo (create it)
         'a' = set audio modes on file (i.e. CD quality)
         'N' = don't use TCP even if filename has ':'
         't' = tee - in addition to outfile, copy stream to fd 3
         'D' = O_DIRECT
         'S' = O_SYNC
         [Multiple chars allowed]
-p <s> = Write pid as ascii integer to file <s>
-l       include line count in statistics
-w <n> = Set write block size (-c 5 only)
-S       Don't output statistic on SIGINFO
-T <n> = Report throughput every <n> seconds
SIGINFO causes statistics to be written to stderr
SIGUSR1 causes statistics to be written to stderr
SIGUSR2 causes loop end after next buffer transfer
<file>  if -i has not been used, specifies input file
-6 <n>  Use IPV6: -1 = don't, 1 = allow both, 2 = force v6
        On some platforms server mode 1 forces ipv6, as
        they don't open both v4 and v6 ports from one bind call.

cstream 官网

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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Pacman 是一个软件包管理器, 作为 ArchLinux 发行版的一部分.
Smb4K 是KDE下的网络共享浏览器 更多屏幕截图请看:http://developer.berlios.de/screenshots/?group_id=769
Wine (“Wine Is Not an Emulator” 的首字母缩写)是一个能够在多种 POSIX-compliant 操作系统(诸如
虚拟桌面软件,可管理最多9个虚拟桌面,你可以用热键进行桌面切换
UNetbootin (Universal Netboot Installer)为一种跨平台工具软件,可以用来建立Live USB 系统,也可以加载各种系统工具,或安装各种Linux操作系统(Linux套件)和其他操作系统,不需使用安装光碟(自 动透过网络下
Cobbler 可以用来快速建立 Linux 网络安装环境,它已将 Linux 网络安装的技术门槛,从大专以上文化水平,成功降低到初中以下,连补鞋匠都能学会。
Wubi是用于在Windows操作系统中安装Ubuntu的工具软件,Wubi中的W代表Windows Lubi和Wubi是兄弟项目,目的都是为了方便用户安装Ubuntu(也支持其他的Linux发行版,如Fedora),Lubi和Wubi两者工作的平台不同,但都具
KCalendar 允许被嵌入到你的 Linux 桌面,并支持显示包括农历日期、24 节气、农历节日、农历生日、阳历生日、阳历节日、阳历纪念日、周节日等在内的各种内容,尤其适合咱中文用户使用。
IPodWizard 让你可以定制你的 iPod 上的不同的图标,文本串和字体.该软件不仅可以直接地连接到你的 iPod
QEMU 是一套由Fabrice Bellard所编写的模拟处理器的自由软件。它与Bochs,PearPC近似,但其具有某些后两者所不具备的特性,如高速度及跨平台的特性。经由kqemu这个开源的加速器,QEMU能模拟至接近真实电脑的速度。
Launchy 是一款免费开源的协助您摒弃 Windows “运行”的 Dock 式替代工具,既方便又实用,自带多款皮肤,作为美化工具也未尝不可。Launchy
Apache Toolbox 是一个可以大大提高linux下apache(一种web服务器) 的安装配置效率的工具软件。Apache
AutoIt 目前最新是v3版本,这是一个使用类似BASIC脚本语言的免费软件,它设计用于Windows
每当你安装完一个新的系统,打完繁多的SP和Hotfix以后执行一下xpy是一个非常省事的主意:)xpy这个小工 具只有73K大小,
syslinux是一个轻量级的启动装载器,只用Windows的人可能不明白是什么东西,如果玩过Linux,一定知道lilo和grub,是的,所谓轻量级我想就是跟grub们相比而言的,尤其是grub2。
GRUB是一个多重启动管理器。GRUB是GRand Unified Bootloader的缩写,它可以在多个操作系统共存时选择引导哪个系统。它可以引导几乎所有的Unix,Linux,Windows操作系统。它可以
bash 是一个为GNU项目编写的Unix shell。它的名字是一系列缩写: B ourne- A gain SH ell
AppleJack 是一个对使用者很友好的故障诊断工具,适用于 Mac OS X 平台。
Gujin 是一个 PC 的启动加载器,可分析你的分区和文件系统。可查找可用的 Linux
Ubuntu Tweak 是一款专门为Ubuntu准备的配置、调整工具。不论您是新手还是老手,都将从这个工具中获取帮助。