powered by Python, using subprocess, Django and so on
to return a realtime network traffic information page with Django and Echart
Run in Linux.
cd ~
mkdir github_repo
cd github_repo
git clone https://github.com/LacLic/network-traffic-watcher
cd network-traffic-watcher
python3 tcpdump.py
then wait for echo
If you are using command-line Linux, you can use screen
.
cd ~/github_repo/network-traffic-watcher
python3 manage.py runserver 0.0.0.0:11451
and then, you can see it on website localhost:11451/index/
or [Yourserver IP]:11451/index/
My demo: (no longer used)nw.laclic.ink:11451/index/