Limitrate
limitrate; V 1; 2005-12-16; limits flow rate of an input/output stream.
Synopsis and descriptionlimitrate rate command [option ...]
Prevents the data flow exceeding specified rate by calling the sleep subroutine after every read/write operation. Standard input and output streams are watched independently. Standard error is left untouched. Because of the program's simplicity the flow rate is only approximate however it should never exceed the given limit. Downloading and compilingSource code: Requirements:
gcc -Wall -s -o limitrate limitrate.c -lpthread
Examples
|
2005-12-17 Matlib |