Every current kernel has a btime (boot time) value in /proc/stat that
indicates when the system was booted. vnStat uses this to know when the
- interface counters in the database should be reseted. Unfortunately, some
+ interface counters in the database should be reset. Unfortunately, some
kernels don't keep the btime value static even when the system isn't
rebooted.
.TP
.B "--exportdb"
Instead of showing the database with a formatted output, this output will
-dump the whole database in a plain text based architeture independent format.
+dump the whole database in a plain text based architecture independent format.
The output can be imported back using the
.B "--importdb"
option and can be used for moving a database from one host to another. See the
.B "--xml"
and
.B "--json"
-are likely to be more suitable. The dump uses ; as field delimeter.
+are likely to be more suitable. The dump uses ; as field delimiter.
.TS
l l.
active;1 activity status
which was previously exported using the
.B "--exportdb"
option. This can be used to transfer a database between different architectures and
-hosts, as the database is architecture dependant and not compatible between
+hosts, as the database is architecture dependent and not compatible between
different architectures. First dump the database on one host, e.g. with
.B "vnstat -i ppp0 --exportdb >ppp0db.txt"
and then import the text file on a different host using
.TP
.B "--oneline"
Show traffic summary for selected interface using one line with a parseable
-format. The output contains 15 fields with ; used as field delimeter. The 1st
+format. The output contains 15 fields with ; used as field delimiter. The 1st
field contains the version information of the output that will be changed
in future versions of vnStat if the field structure changes. The following
fields in order 2) interface name, 3) timestamp for today, 4) rx for today,
.B "--sync"
Synchronize internal counters in the database with interface
counters for the selected interface. Use this if the system is
-rebooted but interface counters aren't reseted. Such can occur
+rebooted but interface counters aren't reset. Such can occur
when suspend to ram/disk is used. Not needed when the daemon is used.
.TP
value for each monitored interface. Mostly only ethernet interfaces support
this feature.
.B MaxBandwidth
-or interface specfic
+or interface specific
.B MaxBW
will be used as fallback value if detection fails.
1 = enabled, 0 = disabled. (vnstat and vnstatd only)
.TP
.B HourlyRate
-Show hours with rate instead of transfered amount. 1 = enabled, 0 = disabled.
+Show hours with rate instead of transferred amount. 1 = enabled, 0 = disabled.
.TP
.B SummaryLayout
break;
default:
- snprintf(errorstring, 512, "Unkown signal %d received, ignoring.", intsignal);
+ snprintf(errorstring, 512, "Unknown signal %d received, ignoring.", intsignal);
printe(PT_Info);
break;
}
data.curtx=0;
writedb(p->interface, p->dirname, 0);
if (debug)
- printf("Counters reseted for \"%s\"\n", data.interface);
+ printf("Counters reset for \"%s\"\n", data.interface);
}
void handleimport(PARAMS *p)
rebuilddbtotal(p->interface, p->dirname);
p->query=0;
} else {
- printf("Warning:\nThe current option would rebuild total tranfers for \"%s\".\n", p->interface);
+ printf("Warning:\nThe current option would rebuild total transfers for \"%s\".\n", p->interface);
printf("Use --force in order to really do that.\n");
exit(EXIT_FAILURE);
}