[SOLVED] Re: a data rate threshold tool?

2010-10-14 Thread Zhang Weiwu
Thanks for all of you. The answer using pv(1) is what I need. pv is a 'pipe viewer' that display the progress of a command-line pipe. It might also able to display other pipes. It is new to me that the tool perform data rate limit task as well. A brief check shows trickle, as suggested, is a

a data rate threshold tool?

2010-10-09 Thread Zhang Weiwu
to my mind is to use a data rate threshold tool to limit the data rate input is fed to the application. $ threshold --rate 20KB/s data_source | my_greedy_application Is there such a tool in Debian? Thanks. Running Debian 5. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org

Re: a data rate threshold tool?

2010-10-09 Thread John Hasler
Please tell us exactly what your application does, what you mean by data rate, and what your data_source is. It sounds like the problem is a bug in your application. -- John Hasler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble?

Re: a data rate threshold tool?

2010-10-09 Thread Chris Jackson
server. One trick that comes to my mind is to use a data rate threshold tool to limit the data rate input is fed to the application. $ threshold --rate 20KB/s data_source | my_greedy_application Is there such a tool in Debian? I don't know about a tool, but assuming it's not important

Re: a data rate threshold tool?

2010-10-09 Thread Timo Juhani Lindfors
Zhang Weiwu zhangwe...@realss.com writes: $ threshold --rate 20KB/s data_source | my_greedy_application pv --rate-limit 20k data_source | my_greedy_application -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: a data rate threshold tool?

2010-10-09 Thread green
Zhang Weiwu wrote at 2010-10-09 05:51 -0600: One trick that comes to my mind is to use a data rate threshold tool to limit the data rate input is fed to the application. $ threshold --rate 20KB/s data_source | my_greedy_application Is there such a tool in Debian? If you want to control