Linux Network Bandwidth Monitoring Tools: iftop, nload, bmon, vnstat

When a server feels slow or a connection is saturated, the first question is usually “what is using the bandwidth?” The answer depends on what you need to see: the total rate on an interface, the individual connections moving the most data, the program behind the traffic, a graph across several interfaces, or how much you have transferred this month. No single tool does all of this well, so it helps to know which one fits each question.
This guide compares five command-line bandwidth monitors for Linux: nload, iftop, nethogs, bmon, and vnstat. Each one is small, packaged for all major distributions, and built for a different angle on network usage.
Which Tool to Use
The five tools overlap a little, but each has a clear best use:
| Tool | Shows | Needs root | Best for |
|---|---|---|---|
| nload | Per-interface in/out rate | No | A quick glance at total throughput |
| iftop | Per-connection bandwidth | Yes | Finding which host or port is using the link |
| nethogs | Per-process bandwidth | Yes | Finding which program is using the link |
| bmon | All interfaces plus graphs | No | Hosts with many interfaces |
| vnstat | Historical hourly/daily/monthly totals | No | Tracking usage over time and quotas |
In practice, many administrators keep vnstat running for history and reach for iftop when they need to investigate a live spike.
nload: Per-Interface Throughput
nload is the simplest of the five. It shows the incoming and outgoing rate on a single interface in real time, with a small ASCII graph and running statistics. It answers the question “how fast is this interface moving data right now?”
Install it on Ubuntu, Debian, and Derivatives:
sudo apt install nloadOn Fedora, RHEL, and Derivatives, install it with dnf. On RHEL-compatible systems, enable EPEL first if the package is not available:
sudo dnf install nloadRun it with no arguments to monitor every detected interface, one per screen, or name an interface directly:
nload enp0s1Replace enp0s1 with the name of your interface. To list the interfaces on your system, run ip -br link.
The display splits into incoming and outgoing sections, each showing the current rate along with the average, minimum, maximum, and total transferred:
Device enp0s1 [10.0.2.15] (1/1):
Incoming:
Curr: 3.35 MBit/s
Avg: 4.45 MBit/s
Min: 2.69 MBit/s
Max: 5.33 MBit/s
Ttl: 11.02 MByte
Outgoing:
Curr: 15.35 kBit/s
Avg: 12.94 kBit/s
Min: 3.23 kBit/s
Max: 19.02 kBit/s
Ttl: 103.01 kByteIn the output above, the incoming Curr rate is 3.35 MBit/s. The outgoing side stays in the kBit/s range. That pattern is typical for a single large download.
When more than one interface is present, the left and right arrow keys cycle between them. Press q to quit. nload does not need root privileges, which makes it the quickest way to glance at raw throughput.
iftop: Bandwidth by Connection
nload tells you how much traffic is flowing, but not where it is going. iftop fills that gap. It works like top for the network, listing active connections sorted by bandwidth so you can see which hosts and ports are responsible for the load.
Install it on Ubuntu, Debian, and Derivatives:
sudo apt install iftopOn Fedora, RHEL, and Derivatives, use dnf. On RHEL-compatible systems, enable EPEL first if the package is not available:
sudo dnf install iftopiftop needs to capture packets, so it must run as root. Point it at an interface:
sudo iftop -i enp0s1Each connection shows a pair of hosts and the bandwidth between them, averaged over the last 2, 10, and 40 seconds:
debian => 146.75.2.132 52.1Kb 64.1Kb 54.6Kb
<= 3.45Mb 3.70Mb 3.29Mb
debian => _gateway 0b 0b 0b
<= 0b 74b 61b
TX: cum: 82.3KB peak: 82.7Kb rates: 52.1Kb 64.4Kb 54.8Kb
RX: 4.93MB 4.31Mb 3.45Mb 3.71Mb 3.29Mb
TOTAL: 5.01MB 4.39Mb 3.50Mb 3.77Mb 3.34MbThe => row is traffic sent from the local host. The <= row is traffic received. In the output above, debian receives about 3.5 Mb/s from 146.75.2.132. iftop shows rates in bits per second, like nload.
The TX, RX, and TOTAL rows at the bottom summarize captured IP traffic after any capture filters have been applied. They show the total transferred since iftop started, the peak rate over the last 40 seconds, and the same three averages.
By default, iftop resolves IP addresses to hostnames and hides port numbers. The DNS lookups can be slow on a busy server. The most useful iftop options are:
-n- Do not resolve IP addresses to hostnames.-N- Show port numbers instead of service names.-P- Show the port of each connection.
To combine them, run:
sudo iftop -i enp0s1 -nNP10.0.2.15:55860 => 146.75.2.132:443 30.1Kb 26.3Kb 29.9Kb
<= 1.29Mb 1.20Mb 1.41Mb
10.0.2.15:55874 => 146.75.2.132:443 33.4Kb 15.8Kb 14.4Kb
<= 1.37Mb 1.03Mb 1.02MbThe two downloads from 146.75.2.132 now appear as separate connections on local ports 55860 and 55874.
Press q to quit. When you need to find the connection saturating a link, iftop is the tool to reach for. To then identify the local process behind a port, pair it with the ss command
or nethogs.
nethogs: Bandwidth by Process
iftop shows which hosts exchange traffic, but not which program on your system opened the connection. nethogs answers that question. It groups bandwidth by process, the same way top groups CPU usage.
Install it on Ubuntu, Debian, and Derivatives:
sudo apt install nethogsOn Fedora, RHEL, and Derivatives, use dnf. On RHEL-compatible systems, enable EPEL first if the package is not available:
sudo dnf install nethogsLike iftop, nethogs captures packets and must run as root. Pass the interface you want to watch:
sudo nethogs enp0s1 PID USER PROGRAM DEV SENT RECEIVED
1250 linuxi.. curl enp0s1 1.356 256.487 kB/s
1252 linuxi.. wget enp0s1 0.517 93.421 kB/s
? root unknown TCP 0.000 0.000 kB/s
TOTAL 1.873 349.908 kB/sEach row is one process, with its PID, owner, and the rate it sends and receives. In the output above, curl receives about 256 kB/s and wget about 93 kB/s. The unknown TCP row collects traffic that nethogs could not match to a local process.
By default, nethogs monitors TCP traffic only. To include UDP traffic, such as QUIC, add -C:
sudo nethogs -C enp0s1Press q to quit.
bmon: Multiple Interfaces at a Glance
bmon (bandwidth monitor) is the right choice when you want to watch several interfaces at once. It lists every interface with its current receive and transmit rates, and draws a live graph for the one you select, which is handy on routers, gateways, and virtualization hosts with many NICs and bridges.
Install it on Ubuntu, Debian, and Derivatives:
sudo apt install bmonOn Fedora, RHEL, and Derivatives, use dnf. On RHEL-compatible systems, enable EPEL first if the package is not available:
sudo dnf install bmonLaunch it with no arguments:
bmonInterfaces │ RX bps pps %│ TX bps pps %
+lo │ 0 0 │ 0 0
qdisc none (noqueue) │ 0 0 │ 0 0
enp0s1 │ 307.98KiB 376 │ 5.59KiB 105
qdisc none (fq_codel) │ 0 0 │ 5.59KiB 105The top pane lists all interfaces with their RX and TX rates. The + next to lo marks the selected interface. Use the arrow keys to highlight an interface, and the lower pane updates its graph to match.
Unlike nload and iftop, bmon shows rates in bytes per second. The 307.98KiB on enp0s1 is about 2.5 Mbit/s.
Press d to toggle detailed counters such as errors and dropped packets, and q to quit. The detailed view needs a tall terminal window. bmon reads kernel counters and does not require root for basic monitoring.
vnstat: Historical Usage Over Time
The other tools show what is happening now and forget it the moment you quit. vnstat is different: it runs as a background service, records traffic per interface into a database, and reports usage by hour, day, and month. It answers “how much data have I used this month?” rather than “what is the rate right now?”, which makes it the tool for usage caps and capacity planning.
Install it on Ubuntu, Debian, and Derivatives:
sudo apt install vnstatThe package enables and starts the vnstat service for you.
On Fedora, RHEL, and Derivatives, install the package first, then enable the service. On RHEL-compatible systems, enable EPEL first if the package is not available:
sudo dnf install vnstat
sudo systemctl enable --now vnstatvnstat needs time to collect data. By default, the daemon reads the interface counters every 20 seconds and saves the cached data to its database every five minutes. You can change these intervals with UpdateInterval and SaveInterval in /etc/vnstat.conf. After the first save, view a summary:
vnstatDatabase updated: 2026-11-18 21:53:40
enp0s1 since 2026-11-18
rx: 60.37 MiB tx: 925.09 KiB total: 61.27 MiB
monthly
rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
2026-11 60.37 MiB | 925.09 KiB | 61.27 MiB | 1.69 Mbit/s
------------------------+-------------+-------------+---------------
estimated 201.93 GiB | 3.02 GiB | 204.95 GiB |
daily
rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
today 60.37 MiB | 925.09 KiB | 61.27 MiB | 1.69 Mbit/s
------------------------+-------------+-------------+---------------
estimated 66.21 MiB | 0.99 MiB | 67.20 MiB |The summary shows the received (rx) and transmitted (tx) totals for the current month and day. The estimated rows project each total to the end of the period. On a new database, the projection is far off. The 201.93 GiB monthly estimate above comes from a few minutes of traffic.
To change the reporting period or the interface, use these options:
-h- Show hourly totals.-d- Show daily totals.-m- Show monthly totals.-l- Show the live rate until you pressCtrl+C.-i- Report on one interface, for examplevnstat -d -i enp0s1.
Because the daemon keeps logging, the history survives reboots.
Troubleshooting
command not found after installing
On Debian, iftop and nethogs install into /usr/sbin. That directory is not in a regular user’s PATH. Run them with sudo, as shown above. For the other tools, confirm the package installed with apt list --installed | grep <tool> or dnf list installed <tool>. On RHEL-compatible systems, enable EPEL first.
iftop prints You don't have permission to perform this capture
iftop was started without root privileges. Run it with sudo. nethogs needs root for the same reason.
iftop shows no traffic
iftop must run as root and be pointed at the active interface. List interfaces with ip link and pass the correct one with -i. Traffic on the loopback interface will not appear unless you select lo.
vnstat reports “No data”
The daemon has not saved its first sample yet. Until it does, vnstat prints enp0s1: No data. Timestamp of last update is same ... as of database creation. Confirm the service is running with systemctl status vnstat and check again after five minutes.
A bridge interface shows almost no traffic
A bridge such as br0 counts only the traffic that goes to or from the host itself. Frames forwarded between bridge ports, for example between virtual machines or containers, appear on the member interfaces instead. Monitor the member ports or the physical uplink to see that traffic.
FAQ
Do these tools work over SSH?
Yes. All five are terminal applications and run fine in an SSH session, which is exactly how they are used on headless servers.
Does vnstat slow down the network?
No. vnstat reads interface counters periodically rather than inspecting packets, so its overhead is negligible even on busy links.
Can I monitor a specific interface only?
Yes. nload and nethogs take the interface name as an argument, iftop and vnstat take it with -i, and bmon takes it with -p (for example, bmon -p enp0s1).
Conclusion
Pick the tool that matches the question: nload for a fast look at throughput, iftop to find the connection eating the link, nethogs to find the program behind it, bmon for many interfaces, and vnstat for usage history. When you need to move from bandwidth numbers to sockets and interface details, pair them with the lower-level ss and ip commands.
Tags
Linuxize Weekly Newsletter
A quick weekly roundup of new tutorials, news, and tips.
About the authors

Dejan Panovski
Dejan Panovski is the founder of Linuxize, an RHCSA-certified Linux system administrator and DevOps engineer based in Skopje, Macedonia. Author of 1000+ Linux tutorials with 20+ years of experience turning complex Linux tasks into clear, reliable guides.
View author page