Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

vnStat

humdi.net

  • Free plan
  • Linux
  • Self-hosted
6.9 Club score Visit humdi.net

What vnStat is

vnStat is a free, open-source console network traffic monitor for Linux and BSD systems. It records statistics for selected network interfaces using values supplied by the kernel rather than sniffing traffic. Multiple interfaces can be monitored at the same time. Reports include summaries, five-minute, hourly, daily, monthly, yearly, and top-days views. Retention is configurable, with documented defaults of 48 hours for five-minute data, four days for hourly data, two full months for daily data, and indefinite yearly history. Output includes text, JSON, and XML database formats, plus alerts and optional images when the GD Graphics Library is installed. The maker describes its resource use as light regardless of traffic rate. Source is available for Linux and BSD, with Docker and Snap links. The FAQ recommends sqlite3 for database changes because no vnStat-specific editor is available. Traffic estimates cannot predict peaks.

Who it suits

vnStat suits Linux or BSD users who want lightweight interface-level traffic history from a console. It is useful for self-hosted monitoring where kernel statistics and configurable retention are sufficient.

Good to know, and what to watch

  • Monitors multiple interfaces simultaneously
  • Provides yearly and other historical summaries
  • Uses kernel statistics instead of packet sniffing
  • Offers text, JSON, and XML output
  • Includes bandwidth alerts
  • No application-level monitoring
  • Traffic estimates cannot predict peaks
  • No dedicated database editor
  • Optional image output requires GD Graphics Library

vnStat

Free

Free plan

The verdict

vnStat offers straightforward, low-resource interface traffic history with several report formats and alerting. Its console and kernel-statistics approach fits users who do not need packet inspection or application-level detail.

What the maker publishes

Data editing
The FAQ says no vnStat-specific database editor is available and suggests using sqlite3 to read or modify the database. source
Data source
It uses network interface statistics provided by the kernel and does not sniff traffic. source
Estimate limitation
The FAQ says traffic estimates work fairly well when interface traffic stays at a similar magnitude and cannot predict peaks. source
History
It provides summary, five-minute, hourly, daily, monthly, yearly, and top-days statistics. source
Installation
The maker offers source for Linux and BSD, plus links to Docker and Snap distributions. source
Integrity check
The repository's getting-started instructions describe optional GPG verification of the stable release archive and its signature. source
Interfaces
It can monitor multiple network interfaces at the same time. source
Output
It supports text output, JSON and XML database output, alerts, and optional image output when the GD Graphics Library is installed. source
Purpose
vnStat is a console-based network traffic monitor that logs traffic for selected interfaces. source
Resource use
The maker says vnStat uses system resources lightly regardless of network traffic rate. source
Retention
Data retention duration is configurable; the repository README gives defaults of five-minute data for 48 hours, hourly data for four days, daily data for two full months, and yearly data forever. source
Security
Because vnStat reads kernel-provided interface statistics, the maker says it does not sniff network traffic. source
Support
The maker suggests GitHub for bug reports, improvement ideas, feature requests, and pull requests, and also lists email and IRC contact options. source

Checked against the maker's pages on 4 Oct 2026.