2011/9/27 Patrick Proniewski <pat...@patpro.net>:

> 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.


I can't see why you would want to do this more than once every minute
- or do you?

If not,
======================
cron iostat > myfile.

Parse myfile - get data out. Insert into SQLite.

Delete myfile.
=============== Should take a max of 5 seconds =============

Then repeat cron for the next min, 2 mins 5/10/whatever...

Not elegant I know, but it will do the job.

Why, exactly, do you want to do this anyway? I'm interested because I've
done something similar.


Paul...





> patpro

-- 


Hmmm.... a "life": wonder where I can download one of those?


lineh...@tcd.ie

Mob: 00 353 86 864 5772
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to