3 cd11-timedb-tool – Guralp Systems CD1.1 User Manual
Page 60

CD1.1 Tools for Platinum
The behaviour is identical when using the -s (or --summary)
argument.
A more detailed analysis of the contents of the database can be
gleaned by giving the -d (or --detail) argument:
eam999 # cd11-framedb-tool -d /var/lib/data-out-
cd11.0/framedb
Last sequence number transmitted: 38295
Sequence | Datestamp
---------------------+------------------------------
38293 | 2009-12-06T23:40:20Z
38294 | 2009-12-06T23:40:30Z
38295 | 2009-12-06T23:40:40Z
EOF
eam999 #
Using the -c (or --clear-before) argument with a date (in the
same format as those produced on output) removes all entries
before the given date. These frames will be considered to have
been acknowledged by the DC.
Using the -C (or --clear-all) argument removes all entries
from the frame database.
Full usage details for this program can be produced by passing
it the -h (or --help) flag:
Usage:
cd11-framedb-tool [options] /path/to/framedb
Valid options:
-h, --help Display this screen.
-V, --version Display version number.
-s, --summary Display summary of framedb.
-d, --detail Dump details (entries) of
framedb.
-c, --clear-before
framedb.
-C, --clear-all Clear all entries from framedb.
The default action is to display a summary of the database.
This tool should only be used to modify the database when
data-out-cd11 is not running. Actions are executed in
reverse order to the commandline.
9.2.3 cd11-timedb-tool
The CD1.1 multiplexer, data-mux-cd11, records every frame it
sends, as it sends it, in a daily database file, called the timedb.
The actual database files have names like 2009-348, where
60
Issue C