Counts the number of UDP packets sent and displays the count in real-time.
- Ensure you have
iginstalled. Follow the installation instructions from the official website - Linux machine and
sudoprivileges.
sudo -E ig run ghcr.io/mqasimsarfraz/packetcounteror using a different interval (default '10s'):
sudo -E ig run ghcr.io/mqasimsarfraz/packetcounter --map-fetch-interval 2sEmits the total number of UDP packets sent at every interval:
COMM PACKETS
systemd-resolve 3
isc-net-0000 2