Linux: Limiting data throughput (pipe) in bytes per second?

Posted by sdaau on Super User See other posts from Super User or by sdaau
Published on 2011-03-18T10:11:37Z Indexed on 2011/03/20 8:11 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

Hi all,

I was wandering if there is a Linux program that can limit data throughput of a pipe - in actual bytes per second?.

From what I gather, applicable for the purposes would be

What I'd want is to be able to specify something like

cat example.txt | ratelimit -Bps 100 > /dev/ttyUSB0

... and actually have a single byte from example.txt sent each 1/100 = 0.01 sec (or 10 ms) to 'output'..

Thanks in advance for any suggestions,
Cheers!

© Super User or respective owner

Related posts about linux

Related posts about data