===============================================================================
 darumaReplay: insert log data to DaRuMa using timestamp info of log files
===============================================================================

------------------
* How to Install *
------------------
This software requires following software.
	python 2.6 or 3.0
Install python first, if your system doesn't have.

Put darumaReplay command to some directory in your environment variable PATH.


--------------
* How to Run *
--------------

 * create connection log
  1) run DaRuMa with '--connection-log' option to save connection log.
  2) register and Insert Data to DaRuMa
  3) stop DaRuMa.

 * replay
  0) initialize DaRuMa if needed.
  1) run DaRuMa.
  2) run darumaReplay

       % darumaReplay LOG_DIR


example)
-------------------------------------------------------------------------------
% darumaReplay log.20100922184238
0 log.20100922184238/log-0-from-client 2010-09-22T18:43:16
walltime clock diff = 0:00:00.000017
file timestamp diff = 0:00:00

1 log.20100922184238/log-1-from-client 2010-09-22T18:43:17
walltime clock diff = 0:00:00.021219
file timestamp diff = 0:00:01
sleep 0.978781 sec

2 log.20100922184238/log-2-from-client 2010-09-22T18:43:17
walltime clock diff = 0:00:01.064364
file timestamp diff = 0:00:01

3 log.20100922184238/log-3-from-client 2010-09-22T18:43:17
walltime clock diff = 0:00:01.089499
file timestamp diff = 0:00:01

4 log.20100922184238/log-4-from-client 2010-09-22T18:43:23
walltime clock diff = 0:00:01.111279
file timestamp diff = 0:00:07
sleep 5.888721 sec

...snip...
-------------------------------------------------------------------------------


-----------
* Options *
-----------

Usage: darumaReplay [options] [DIR_OR_FILE ...]

Options:
  --help                show this help message and exit
  -h HOST, --host=HOST  specify DaRuMa server host
  -p PORT, --port=PORT  specify DaRuMa server port
  -w, --wait            wait different time of file timestamps (default)
  -W, --no-wait         do not wait
  --fixed-wait=REAL_NUMBER_WAIT_SECONDS
                        wait fixed time
  --print-io            print input/output message
  -x EXCLUDE_GLOB, --exclude-glob=EXCLUDE_GLOB
                        specify file pattern to ignore
  -v, --verbose         print verbose messages to standard error
  -V, --no-verbose      inhibit verbose messages (default)
