mbuffer is a raplacement for buffer with additional functionality:
* display of I/O speed
* optional use of memory mapped I/O for huge buffers
* multithreaded instead of sharedmemory ipc
* multi volume support
* autoloader support
* networking support
* compatible command-line options
This small tool is for instance very handy if you run dd to copy some
raw data, like copying a partition. As dd lacks any progress display
piping input into mbuffer and output back to dd you can follow
processing. Example:
tmp $ dd if=/dev/zero | mbuffer -m 1M | dd of=./foofile bs=1k
count=102400
in @ 7.1 MB/s, out @ 7.1 MB/s, 99 MB total, buffer 99% full
102400+0 records in
102400+0 records out
spec file and src.rpm for review:
http://www.uni-x.org/review/mbuffer.spec
http://www.uni-x.org/review/mbuffer-20050730-1.src.rpm
Comment: I uses "/bin" rather than "%{_bindir} to make it available
together with dd even if /usr isn't mounted (emergency case).
Alexander
--
1024D/866ED681 2005-07-11 Alexander Dalloz (Fedora Project) <alex dalloz de>
Key fingerprint = CD40 0A91 7814 C1E4 5940 8E0E 1FD5 C316 866E D681
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil