macOS
brew install vnstatlocal Homebrew formula metadata
sudo port install vnstatMacPorts ports tree · net/vnstat/Portfile · source: api.github.com
brew
Console-based network traffic monitor. Version 2.13 via Homebrew; verified from local package data.
install
brew install vnstatlocal Homebrew formula metadata
sudo port install vnstatMacPorts ports tree · net/vnstat/Portfile · source: api.github.com
sudo apk add vnstatAlpine Linux edge package indexes · vnstat · source: dl-cdn.alpinelinux.org
sudo apt install vnstatDebian stable package indexes · vnstat · source: deb.debian.org
sudo dnf install vnstatFedora Rawhide package metadata · vnstat · source: dl.fedoraproject.org
nix profile install nixpkgs#vnstatnixpkgs package indexes · pkgs/by-name/vn/vnstat/package.nix · source: api.github.com
sudo pacman -S vnstatArch Linux sync databases · vnstat · source: geo.mirror.pkgbuild.com
sudo zypper install vnstatopenSUSE Tumbleweed package metadata · vnstat · source: download.opensuse.org
overview
Console-based network traffic monitor
history
vnStat is a console-based network traffic monitor for Linux and BSD systems. Its central design choice is to read network-interface statistics from the kernel instead of sniffing packets, which keeps resource use low regardless of traffic volume.
Teemu Toivola's changelog records vnStat 1.0 as the initial public release on 23 September 2002. Early releases added multiple-interface support, a new database structure, parseable output, daily and monthly estimates, FHS-compliant paths, 64-bit counter handling, an FAQ, and sample PPP scripts.
The project settled into its long-running home in March 2004, when version 1.3 moved the webpage to humdi.net and added a man page. Later releases broadened it from a cron-updated text tool into a service-oriented monitor: version 1.7 in April 2009 added daemon support, PNG image output, XML output, and BSD support; version 1.12 in August 2014 added example systemd, launchd, and upstart integration while deprecating cron update examples.
Version 2.0, released in October 2018, was a major internal transition: the old C-struct dump database was replaced with SQLite, with import support for legacy databases from versions 1.3 through 1.18. The 2.x series continued to add modern outputs and retention controls, including JSON/XML improvements, five-minute resolution data, query ranges, alerts, merge support, and image-output enhancements.
vnStat's adoption comes from its fit with always-on servers, routers, VPS hosts, and BSD/Linux machines where long-term interface totals matter more than packet-level inspection. The upstream README also documents an official container workflow and signed source-release verification, signs of a mature utility maintained for both traditional installations and containerized environments.
Operators use `vnstat` for text queries, `vnstatd` as the background collector, and `vnstati` for image output. The README describes configurable retention at five-minute, hourly, daily, and yearly levels, plus total traffic and top-days listings; the changelog shows that JSON, XML, one-line, alert, and CGI-oriented outputs were added for scripts and dashboards.
vnStat is package-nerd significant because it is boring in the best way: it gives reproducible traffic accounting without packet capture privileges or heavy monitoring infrastructure. It is a common answer when someone wants long-term bandwidth totals that survive reboots and can be queried from shell scripts.
security posture
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/vnstat.conf~/.vnstatrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
vnstat | cli | global executable | |
vnstatd | cli | global executable | |
vnstati | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:vnstat |
|---|---|
| Version | 2.13 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/vnstat |
| Homepage | https://humdi.net/vnstat/ |
| Repository | https://github.com/vergoh/vnstat |
| Upstream docs | https://humdi.net/vnstat/man/vnstat.html |
| License | GPL-2.0-only |
| Source archive | https://humdi.net/vnstat/vnstat-2.13.tar.gz |
| Dependencies | gd |
| Uses from macOS | sqlite |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
| Caveats | To monitor interfaces other than "en0" edit $HOMEBREW_PREFIX/etc/vnstat.conf |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | vnstat |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
vnstat 2.13-1
console-based network traffic monitor
sudo apt install vnstatvnstati 2.13-1
image output support for vnStat
sudo apt install vnstativnstat
nix profile install nixpkgs#vnstatvnstat 2.12-1
console-based network traffic monitor
sudo apt install vnstatvnstati 2.12-1
image output support for vnStat
sudo apt install vnstativnstat 2.13-r1
Console-based network traffic monitor
sudo apk add vnstatvnstat-doc 2.13-r1
Console-based network traffic monitor (documentation)
sudo apk add vnstat-docvnstat-openrc 2.13-r1
Console-based network traffic monitor (OpenRC init scripts)
sudo apk add vnstat-openrcvnstat-systemd 2.13-r1
Console-based network traffic monitor (systemd files)
sudo apk add vnstat-systemdvnstat 2.13-2.fc44
Console-based network traffic monitor
sudo dnf install vnstatvnstat-vnstati 2.13-2.fc44
Image output support for vnstat
sudo dnf install vnstat-vnstativnstat 2.13-2
A console-based network traffic monitor
sudo pacman -S vnstatvnstat 2.13-1.4
Network Traffic Monitor
sudo zypper install vnstatvnstat-cgi 2.13-1.4
Graph Visualization CGI Script for vnstat
sudo zypper install vnstat-cgivnstat
sudo port install vnstatsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.