Monitor network traffic
Updated 27 Nov 2026 monitoring bandwidth
See how much data your server moves and which programs move it.
Plans use a shared uplink with a port limit and fair-use terms. Check your plan on the pricing page.
Totals over time
sudo apt install -y vnstat
sudo systemctl enable --now vnstat
vnstat # daily and monthly totals, after it has collected data
vnstat -l # live rate
Which connection is busy?
sudo apt install -y iftop nethogs
sudo iftop -n # by remote address
sudo nethogs # by program
sudo ss -tnp state established | head -30
Reduce traffic
- Compress text responses in your web server.
- Serve large static files through a content delivery network.
- Run large transfers outside busy hours and limit them:
rsync --bwlimit=5000limits to about 5 MB per second.
Unexpected traffic
Sudden or constant outbound traffic you cannot explain is a warning sign. See if your server is compromised.