[Gllug] Delayed data feed

Rich Walker rw at shadowrobot.com
Wed Jan 12 17:02:53 UTC 2011


I thought we had this discussion years ago, but it was about throttling
amount.

sleep, of course, only does one block.

Changing pv might be an option.

Or an audio tool - sox with the delay parameter?

cheers, Rich.

On 2011-01-12 16:55, jayeola at gmail.com wrote:
> Sleep 30
> 
> 
> ------Original Message------
> From: - Tethys
> Sender: gllug-bounces at gllug.org.uk
> To: Greater London Linux User Group
> ReplyTo: Greater London Linux User Group
> Subject: [Gllug] Delayed data feed
> Sent: 12 Jan 2011 16:33
> 
> Does anyone know of a simple delay utility that consumes data from
> stdin and outputs it on stdout a fixed time later? What I want to be
> able to do is:
> 
> 	mkdata | delay 30 | send_data_to_customer
> 
> That will send the (time sensitive) output of mkdata to the customer
> with a 30 second delay. The amount of data I'm talking about isn't so
> large that I need to worry about memory usage, and buffering it in RAM
> will work just fine. I can write it myself, but I'd rather not
> reinvent the wheel if someone's already done it.
> 
> Tet
> 


-- 
rich walker         |  Shadow Robot Company | rw at shadowrobot.com
managing director      251 Liverpool Road   | skype: rich_at_shadow
need a Hand?           London  N1 1LX       | +44 20 7700 2487
http://www.shadowrobot.com/hand/              @shadowrobot
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list