Blame test/simulation/clknetsim/examples/ntpdate.test
|
Packit Service |
623930 |
#!/bin/bash
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
CLKNETSIM_PATH=..
|
|
Packit Service |
623930 |
. ../clknetsim.bash
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
generate_config1 3 10.0 "(sum (* 1e-9 (normal)))" "(+ 1e-3 (* 1e-3 (exponential)))"
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
echo "node2_start = 100" >> tmp/conf
|
|
Packit Service |
623930 |
echo "node3_start = 100" >> tmp/conf
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
start_client 1 ntpd "server 127.127.1.0"
|
|
Packit Service |
623930 |
start_client 2 ntpdate "-B 192.168.123.1"
|
|
Packit Service |
623930 |
start_client 3 ntpdate "-b 192.168.123.1"
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
start_server 3 -v 2 -o log.offset -r 110 -l 200
|
|
Packit Service |
623930 |
|
|
Packit Service |
623930 |
cat tmp/stats
|