On 27 Sep 2011, at 1:07pm, Patrick Proniewski wrote:

> On 27 sept. 2011, at 13:44, Simon Slavin wrote:
> 
>> If you're using the OS X version, I don't think you need to run iostat as a 
>> continuous process.  Write a shell script with a timed loop which runs 
>> iostat without the '-w 10'.  So you could write a script which does
> 
> That's what I do, but I think using a loop is ugly, and I would like to find 
> a way to feed data continuously into sqlite. 

Can't be done using piping because of the problem pointed out earlier: piping 
buffers octets until it fills up a page.  That is a good solution for normal 
piping purposes and completely useless for anything that must be 
up-to-the-second.  I think the scripting solution will do better for you.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to