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(&all_rrds)))
26 * Let the updates finish
28 if (harvest_zombies(0))
31 sleeptime = get_next_update(&all_rrds);
32 printf("Time to sleep %d seconds\n", sleeptime);