Tools for network monitoring ping
, polling
, and traceroot
.
These tools measure network latency, jitter, and packet loss.
- Tested on macOSX Darwin 21.6 x86_64
- Tested on Red Hat EL 9.3 x86_64
- Ensure you have
gcc
andmake
installed on your system.
- Clone the repository and Build the tools:
$ git clone https://github.com/cerebnismus/networkmon.git $ cd networkmon $ make
$ make $ ./build/icmp 8.8.8.8 -c 16 $ ./build/pinger 8.8.8.8 -c 16 $ sudo ./build/traceroot 8.8.8.8
-
Ideally, jitter should be below 30ms, and packet loss should be no more than 1%.
-
Network latency shouldn't exceed 150 ms one-way (300 ms return).
-
Jitter results from network congestion, timing drift, and route changes.
-
Sources: TechTarget, Obkio Blog
-
Monitoring Network Traffic:
$ sudo tcpdump -X -s0 -p icmp
$ sudo tshark -f "icmp"
This project is licensed under the MIT License. See the LICENSE file for details.