Wiki source for LinuxCpipe


Show raw source

=====cpipe=====

cpipe steht für "counting pipe". Der standard input wird zum standard output kopiert und dabei die durchschnittliche Datenrate und die Anzahl der kopierten Bytes angezeigt.

Transferrate anzeigen
%%(bash)
dd if=/dev/hda1 | cpipe -vt -b 10000 > filesystem_sda1
%%

Die Datenrate mit der die Bytes aus dem Pseodozufallszahlengenrator gelesen werden anzeigen
%%(bash)
dd if=/dev/urandom bs=10000 | cpipe -vr -b 10000 > /dev/null
%%


http://cpipe.berlios.de


%%
NAME
cpipe - copy stdin to stdout while counting bytes and reporting
progress

SYNOPSIS
cpipe [-b bsize] [-vt] [-vr] [-vw] [-ngr] [-s speed]

OPTIONS
-b buffer size in kB,
1 Int value between 1 and oo.
Default: `128'

-vt show throughput.

-vr show read-times.

-vw show write-times.

-ngr non-greedy read. Don't enforce a full buffer on read before
starting to write.

-s throughput speed limit in kB/s,
1 Double value between 1 and oo.
%%

----
Siehe auch {{backlinks}}
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki