mkdir /tmp/ckb-net-monitor
cp src/config.toml /tmp/ckb-net-monitor
cargo build --release
./target/release/ckb-net-monitor /tmp/ckb-net-monitor
it will generate log file /tmp/ckb-net-monitor/run.log
, pick your favorite log analyzer to generate the report, or use the built-in command to output an example chart:
./target/release/ckb-net-monitor /tmp/ckb-net-monitor report
0.87 ┼ ╭╮
0.85 ┤ ││
0.82 ┤ ││
0.79 ┤ ││
0.76 ┤ ││
0.73 ┤ ││
0.70 ┤ ││
0.67 ┤ ││
0.64 ┤ ││
0.61 ┤ ││
0.59 ┤ ││
0.56 ┤ ││ ╭╮
0.53 ┤ ╭╮ ╭╮ ││ ││ ╭╮
0.50 ┤ ││ ││ ││ ││ ╭╮││ ╭╮
0.47 ┤ ││ ╭╮ ││ ││ ││ ││││ ││ ╭╮
0.44 ┤ ││ ││ ││ ││ ││ ││││ ││ ││
0.41 ┤ ││ ╭╮ ││╭╮ ││ ││╭╮││ ││││ ╭╮ ││ ││ ╭╮
0.38 ┤ ││ ││╭╮╭─╮ ││││╭╮ ││ ││││││ ││││ ││ ││ ││ ╭╮ ││ ╭╮
0.35 ┤ ││ ╭╮ │││││ │ ││││││ ││ ││││││ ││││ ││ ││ ╭╯│ ││ ││ ││
0.33 ┤ ││ ││ │╰╯╰╯ │ ╭╮ ││││││ ││ ││││││ ╭─╮ ││││ ││ ││ │ ╰╮││ ╭╯│ ││
0.30 ┼─╮╭╮╭╮╭╮ ╭╮╭╮╭╮ │╰╮╭─╯╰─╯ │ ╭╯│ ││││││ │╰╮╭╮╭╮ │╰╯│││ ╭─╯ │╭╮╭╮ ││││╭╯╰─╯│╭╯ │││ ╭╮│ ╰╮╭╮ │╰╮
0.27 ┤ ╰╯││╰╯╰╮│╰╯╰╯│╭╯ ╰╯ │ │ │ │││││╰─╯ │││││╭─╯ ││╰╮│ │││││╭╯╰╯╰╯ ││ │││ │││ │││ │ │
0.24 ┤ ╰╯ ╰╯ ╰╯ ╰╮│ │╭╯╰╯││ ││││││ ││ ││ ││││││ ││ │││╭╯││ │││ │ │
0.21 ┤ ││ ││ ││ ││││││ ││ ││ ╰╯││╰╯ ╰╯ ││││ ││ ╰╯│ │ │
0.18 ┤ ││ ╰╯ ││ ╰╯││╰╯ ╰╯ ╰╯ ╰╯ ╰╯╰╯ ││ │╭╯ │
0.15 ┤ ││ ││ ││ ╰╯ ││ ╰
0.12 ┤ ││ ││ ││ ││
0.10 ┤ ││ ││ ││ ╰╯
0.07 ┤ ╰╯ ││ ││
0.04 ┤ ││ ││
0.01 ┤ ╰╯ ╰╯
Block 90% nodes propagation time