Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mqasimsarfraz/gadget-packetcounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packet Counter Gadget

Counts the number of UDP packets sent and displays the count in real-time.

Prerequisites

  • Ensure you have ig installed. Follow the installation instructions from the official website
  • Linux machine and sudo privileges.

Running the Gadget

sudo -E ig run ghcr.io/mqasimsarfraz/packetcounter

or using a different interval (default '10s'):

sudo -E ig run ghcr.io/mqasimsarfraz/packetcounter --map-fetch-interval 2s

Output

Emits the total number of UDP packets sent at every interval:

COMM             PACKETS             
systemd-resolve  3                   
isc-net-0000     2 

About

Counts the number of UDP packets sent and displays the count in real-time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors