5 #include "draw_graphs.h"
12 int main(int argc, char *argv[])
14 struct rrd_database *db;
18 printf("%d: loop start\n", getpid());
20 * Update all databases parallel in one shot
22 while ((db = check_update_need((struct rrd_database **)
27 * Let the updates finish
29 if (harvest_zombies(0))
32 sleeptime = get_next_update((struct rrd_database **)&all_rrds);
33 printf("Time to sleep %d seconds\n", sleeptime);