Changeset 57 for trunk/src/renetcolAgg.c
- Timestamp:
- 09/26/07 14:13:56 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/renetcolAgg.c
r47 r57 48 48 int rrd_create_er_ct = 0; 49 49 int rrd_create_ok_ct = 0; 50 int rrd_ct = 0;51 50 int isFirstUpdate = 1; 52 51 key_t key; … … 58 57 char *opt[27]; 59 58 char *optUpdate[3]; 60 int res_rrd = 0;61 59 FILE *fp; 62 60 static time_t now, now2; 63 struct shmid_ds shminfo;64 61 65 62 key = 8765; … … 338 335 /* END MATRIX INTER POP ACC */ 339 336 now2 = time((time_t *)NULL); 340 /* #ifdef DEBUGAGG */ 337 #ifdef DEBUGAGG 341 338 fprintf(stderr, "IPv4 subnet managment (rrd update) : \n %d sec, %d files updated, %d errors, total %d\n %d rrd file already created, %d errors in creation, %d new rrd file creations", 342 now2-now,339 (int)now2-now, 343 340 rrd_update_ok_ct, 344 341 rrd_update_er_ct, … … 347 344 rrd_create_er_ct, 348 345 rrd_create_ok_ct); 349 /* #endif */ 346 #endif 350 347 rrd_update_ok_ct = 0; 351 348 rrd_update_er_ct = 0;