安装:

sudo apt-get -y install libpcap-dev python-dev
git clone https://github.com/eternalprojects/redis-sniffer.git
cd redis-sniffer
sudo python setup.py install

报错:
pcap.h not found
解决:
yum install libpcap-devel

sudo python setup.py install --user