vnstat -d for daily or vnstat -m for monthly traffic per interface; it records in the background once installed. For what is using bandwidth right now, run sudo iftop -i eth0, which lists the busiest connections. ip -s link show eth0 shows total bytes since boot without installing anything.
Before you start
- Bandwidth is how fast data moves (Mbit/s). Traffic is how much data moved in total (GB or TB). Received data is rx (inbound), sent data is tx (outbound).
- On a VPS, the panel also shows monthly traffic for your server: see VPS traffic and bandwidth. The numbers inside the server can differ slightly from the panel, because they’re measured at a different point.
- Find your interface name with
ip -br link(for exampleeth0,ens3). Commands usesudo; as root, leave it out.
Which tool should I use?
How to see daily and monthly traffic with vnStat
1
Install vnStat
- Ubuntu / Debian
- AlmaLinux / Rocky
vnstat service is enabled and started during installation.2
Wait for the first data
The background service (
vnstatd) adds every interface it finds and saves data every few minutes. Right after installing you’ll see “No data” until the first save.3
Show the traffic
vnstat -l for a live view of the current rate, and vnstat -t for the top traffic days.
How to see which connections use bandwidth with iftop
- Ubuntu / Debian
- AlmaLinux / Rocky
-n shows IP addresses instead of names (faster), -P shows ports. Each line is a connection between your server (=> sent, <= received) and a remote address, with the average rate over 2, 10 and 40 seconds. Press q to quit.
For a one-off text report, for example to paste into a ticket:
How to see the current speed with nload
How to check traffic without installing anything
Frequently asked questions
Why does vnStat show “No data”?
The service hasn’t saved its first sample yet, or it isn’t running. Wait a few minutes and checksystemctl status vnstat. If the interface is missing, add it with sudo vnstat -i eth0 --add.
Why are vnStat’s numbers different from my VPS panel?
They’re measured in different places and may use different units (vnStat uses GiB/TiB by default, base 1024) and different month boundaries. Use the panel for your plan’s allowance.How do I see bandwidth per process?
iftop works per connection, not per program. Match its ports to programs with ss -tunp. Tools such as nethogs show traffic per process directly.
Does vnStat slow down the server?
No noticeable amount. It reads the kernel’s interface counters at intervals rather than capturing packets.Related guides
VPS and dedicated server guides
Every guide in this section.
VPS traffic and bandwidth
Traffic history in the panel.
Test speed with iperf3
Measure maximum throughput.
Monitor resources with htop
CPU, memory and processes.
Set up Netdata
Dashboards for network and more.
Checked against the official vnStat manual and usage guide and the Fedora/EPEL package listings for vnStat, iftop and nload on 4 November 2026; commands tested on Ubuntu 24.04 LTS (vnStat 2.12, iftop 1.0pre4, nload 0.7.4). Commands can differ on other distributions or releases.
Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: support@freakhosting.com
Last Updated: November 2026