Home

Awesome

Why to do

What is this

How to use

###### read data from device
# ./zk-sniffer -port=4181 -device=eth0
###### read data from pcap file
# ./zk-sniffer -port=4181 -file=1.pcap
###### output data struct
Timestamp ClientAddr ServerAddr OpType Path Zxid ReqLength RespLength Latency(ms)

Screenshot

Reference