There are several tools you can use to monitor outgoing bandwidth, latency, and jitter on a Unix or Linux system. Some of the most commonly used tools include:
ping
: Theping
command is a simple utility that sends ICMP echo requests to a remote host and measures the time it takes for the host to respond.ping
can be used to measure the latency and jitter of a network connection.
Here’s an example of how to use ping
:
ping -c 10 remote-host
The -c
option specifies the number of echo requests to send (in this case, 10). Replace remote-host
with the hostname or IP address of the remote host you want to measure the latency and jitter of.
traceroute
: Thetraceroute
command is a utility that traces the route of packets from your system to a remote host.traceroute
can be used to measure the latency of a network connection.
Here’s an example of how to use traceroute
:
traceroute remote-host
Replace remote-host
with the hostname or IP address of the remote host you want to measure the latency of.
iperf
: Theiperf
command is a tool that can be used to measure network performance, including bandwidth, latency, and jitter.iperf
requires both a client and a server to be run.
Here’s an example of how to use iperf
:
# On the server:
iperf -s
# On the client:
iperf -c remote-host
Replace remote-host
with the hostname or IP address of the iperf
server.
bwm-ng
: Thebwm-ng
command is a bandwidth monitor that provides real-time statistics about network usage.
Here’s an example of how to use bwm-ng
:
bwm-ng -o plain -t 1000 -T rate -u bits
The -o plain
option specifies that the output should be in plain text format, the -t 1000
option specifies the update interval (in milliseconds), the -T rate
option specifies that the output should be in rate format (i.e., bits or bytes per second), and the -u bits
option specifies that the output should be in bits.