Monitor incoming and outgoing bandwidth usage
Build & Install
sudo apt-get install libpcap-dev # or something make sudo setcap cap_net_raw+ep netcap # optional sudo cp netcount /usr/local/bin/
filter argument may be a filter suitable for pcap or tcpdump,
"port 53 and host 184.108.40.206". See
pcap-filter(7) for more details.
Output is one line per packet, of the running totals of the network activity.
total_incoming TAB total_outgoing TAB total_all NEWLINE
Copyright (c) 2017 @cel
Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.
DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
Built with git-ssb-web