"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cfgoutput.c" between
vnstat-2.7.tar.gz and vnstat-2.8.tar.gz

About: vnStat is a console-based network traffic monitor (using the /proc filesystem).

cfgoutput.c  (vnstat-2.7):cfgoutput.c  (vnstat-2.8)
skipping to change at line 129 skipping to change at line 129
printf("# how often (in seconds) interface status changes are checked\n") ; printf("# how often (in seconds) interface status changes are checked\n") ;
printf("PollInterval %d\n\n", cfg.pollinterval); printf("PollInterval %d\n\n", cfg.pollinterval);
printf("# how often (in minutes) data is saved to database\n"); printf("# how often (in minutes) data is saved to database\n");
printf("SaveInterval %d\n\n", cfg.saveinterval); printf("SaveInterval %d\n\n", cfg.saveinterval);
printf("# how often (in minutes) data is saved when all interface are off line\n"); printf("# how often (in minutes) data is saved when all interface are off line\n");
printf("OfflineSaveInterval %d\n\n", cfg.offsaveinterval); printf("OfflineSaveInterval %d\n\n", cfg.offsaveinterval);
printf("# rescan database after save for new interfaces to be monitored (
1 = enabled, 0 = disabled)\n");
printf("RescanDatabaseOnSave %d\n\n", cfg.rescanonsave);
printf("# automatically start monitoring all interfaces not found in the
database\n");
printf("# (1 = enabled, 0 = disabled)\n");
printf("AlwaysAddNewInterfaces %d\n\n", cfg.alwaysadd);
printf("# on which day should months change\n"); printf("# on which day should months change\n");
printf("MonthRotate %d\n", cfg.monthrotate); printf("MonthRotate %d\n", cfg.monthrotate);
printf("MonthRotateAffectsYears %d\n\n", cfg.monthrotateyears); printf("MonthRotateAffectsYears %d\n\n", cfg.monthrotateyears);
printf("# filesystem disk space check (1 = enabled, 0 = disabled)\n"); printf("# filesystem disk space check (1 = enabled, 0 = disabled)\n");
printf("CheckDiskSpace %d\n\n", cfg.spacecheck); printf("CheckDiskSpace %d\n\n", cfg.spacecheck);
printf("# how much the boot time can variate between updates (seconds)\n" ); printf("# how much the boot time can variate between updates (seconds)\n" );
printf("BootVariation %d\n\n", cfg.bvar); printf("BootVariation %d\n\n", cfg.bvar);
skipping to change at line 178 skipping to change at line 185
printf("# 1 = 64-bit, 0 = 32-bit, -1 = old style logic, -2 = automatic de tection\n"); printf("# 1 = 64-bit, 0 = 32-bit, -1 = old style logic, -2 = automatic de tection\n");
printf("64bitInterfaceCounters %d\n\n", cfg.is64bit); printf("64bitInterfaceCounters %d\n\n", cfg.is64bit);
printf("# use SQLite Write-Ahead Logging mode (1 = enabled, 0 = disabled) \n"); printf("# use SQLite Write-Ahead Logging mode (1 = enabled, 0 = disabled) \n");
printf("DatabaseWriteAheadLogging %d\n\n", cfg.waldb); printf("DatabaseWriteAheadLogging %d\n\n", cfg.waldb);
printf("# change the setting of the SQLite \"synchronous\" flag\n"); printf("# change the setting of the SQLite \"synchronous\" flag\n");
printf("# (-1 = auto, 0 = off, 1, = normal, 2 = full, 3 = extra)\n"); printf("# (-1 = auto, 0 = off, 1, = normal, 2 = full, 3 = extra)\n");
printf("DatabaseSynchronous %d\n\n", cfg.dbsynchronous); printf("DatabaseSynchronous %d\n\n", cfg.dbsynchronous);
printf("# database uses UTC instead of local timezone (1 = enabled, 0 = d
isabled)\n");
printf("UseUTC %d\n\n", cfg.useutc);
printf("\n"); printf("\n");
/* vnstati section */ /* vnstati section */
printf("# vnstati\n##\n\n"); printf("# vnstati\n##\n\n");
printf("# title timestamp format\n"); printf("# title timestamp format\n");
printf("HeaderFormat \"%s\"\n\n", cfg.hformat); printf("HeaderFormat \"%s\"\n\n", cfg.hformat);
printf("# show hours with rate (1 = enabled, 0 = disabled)\n"); printf("# show hours with rate (1 = enabled, 0 = disabled)\n");
printf("HourlyRate %d\n\n", cfg.hourlyrate); printf("HourlyRate %d\n\n", cfg.hourlyrate);
 End of changes. 2 change blocks. 
0 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)