NAME

dbreplay - replay a database to an orbserver w/o modifying time

SYNOPSIS


dbreplay [-b max-behind]
	    [-de]
	    [-F foreignkeys]
	    [-n #pkts]
	    [-p pktsuffix]
	    [-r rate]
	    [-s subset]
	    [-t timestep]
	    [-T timeout]
	    [-v]
	    [-w orbclient]
            [-x]
	    db|vw
		[[[server] mintime] maxtime|period]

DESCRIPTION

dbreplay reads an input database and sends packets composed from the waveforms to an orbserver. It's intended for testing components of a real time system, using existing databases. The only required argument is a input database db or view vw which includes wfdisc. You may specify an orb server; the default is the current machine.

If you wish you may also specify a time range, with a start time, followed by either a period (eg, 0:20 for 20 minutes) or an explicit end time.

OPTIONS

PARAMETER FILE

EXAMPLE



% dbreplay -de -s "chan=~/.*Z/" -n 13 -r 1000 -v demo :
  instrument : selected    22 records of         22
  sensor     : selected    39 records of         39
  site       : selected    13 records of         13
  sitechan   : selected    39 records of         39
  arrival    : selected     9 records of         12
  assoc      : selected     9 records of          9
  netmag     : selected     5 records of          5
  origin     : selected     1 records of       1351
  stamag     : selected     4 records of          4
KNET_EKS2_BHZ/replay 446 byte (1186 samples) packet from \
    5/17/1992  21:55:04.700 through  5/17/1992  21:56:04.000
KNET_AAK_BHZ/replay  944 byte (1075 samples) packet from \
    5/17/1992  21:55:10.250 through  5/17/1992  21:56:04.000

           .
           .
           .

KNET_KBK_BHZ/replay  268 byte (289 samples) packet from \
    5/17/1992  21:57:04.050 through  5/17/1992  21:57:18.500
sent 13 packets (10342 bytes)
sent   2:15 minutes of data in  410.287 milliseconds

# put demo database on the orb, but not so fast that any orb2orb
# falls behind.

% dbreplay -w orb2orb demo :

DIAGNOSTICS

BUGS AND CAVEATS

The subset specified on the command line is not applied to the event and station databases. If it's desired to subset these databases, this should be done by editing dbreplay.pf.

SEE ALSO

db2orb(1)

AUTHOR

Daniel Quinlan
Boulder Real Time Technologies, Inc.



Table of Contents
Antelope Release 4.6 Linux 2.4.19-4GB 2004-10-21
Boulder Real Time Technologies, Inc For more information, contact support@brtt.com