vnStat is a console-based network traffic monitoring application that records bandwidth usage over time.
Unlike packet capture tools, vnStat obtains its measurements from network interface statistics maintained by the operating system kernel. This approach keeps resource consumption low and avoids the overhead associated with inspecting individual packets.
The software records traffic information in a database that can be queried from the command line. Users can examine historical upload and download totals, compare network usage over different periods and identify unusually busy days.
vnStat is particularly useful for servers, home networks and other systems where long-term bandwidth consumption matters more than detailed packet inspection.
It can monitor multiple interfaces and retain traffic statistics across system restarts. Its reporting facilities also make it useful for tracking data allowances and identifying changes in network usage patterns.
This is free and open source software.
Key Features
- Records network interface traffic statistics continuously.
- Uses kernel interface counters rather than capturing network packets.
- Stores traffic measurements persistently across reboots.
- Supports monitoring multiple network interfaces.
- Reports incoming and outgoing traffic separately.
- Provides five-minute, hourly, daily, monthly and yearly traffic summaries.
- Displays top traffic days for identifying unusually high network usage.
- Offers configurable data retention periods.
- Can align monthly statistics with a custom billing period.
- Provides estimated traffic totals based on recorded usage.
- Supports live traffic monitoring from the command line.
- Offers optional PNG image output for traffic reports.
- Uses minimal CPU and memory resources.
- Can collect most interface statistics without requiring root privileges.
Website: github.com/vergoh/vnstat
Support:
Developer: Teemu Toivola
License: GNU General Public License v2.0
Related Software
| Network 'top' Tools | |
|---|---|
| NetHogs | Groups bandwidth by process |
| bandwhich | Shows network bandwidth usage by process and connection |
| NetWatch | Interactive terminal monitor for traffic, connections and packets |
| IPTraf-ng | Fork of IPTraf |
| RustNet | Real-time terminal monitor for connections and process traffic |
| vnStat | Lightweight monitor for long-term network traffic statistics |
| netshow | Process-aware terminal monitor for active network connections |
| iftop | Displays bandwidth usage on an interface by host |
| socktop | Remote system monitor with a rich TUI |
| Flow | Real-time terminal dashboard for upload and download speeds |
| bmon | Interactive bandwidth monitor with live interface statistics |
| rdmatop | Terminal monitor for RDMA traffic, devices and processes |
| ntap | Terminal tool for live network monitoring and packet capture |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.