Automic VaultAutomic Vault

brew

Install vnstat with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Console-based network traffic monitor. Version 2.13 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install vnstat

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install vnstat

MacPorts ports tree · net/vnstat/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add vnstat

Alpine Linux edge package indexes · vnstat · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install vnstat

Debian stable package indexes · vnstat · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install vnstat

Fedora Rawhide package metadata · vnstat · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#vnstat

nixpkgs package indexes · pkgs/by-name/vn/vnstat/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S vnstat

Arch Linux sync databases · vnstat · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install vnstat

openSUSE Tumbleweed package metadata · vnstat · source: download.opensuse.org

overview

Package summary

Console-based network traffic monitor

Commands and aliases

  • vnstat
  • vnstatd
  • vnstati

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2002-09-23: vnStat 1.0 initial public release.
  • 2003-07-13: Version 1.1 adds multiple-interface support and a new database structure.
  • 2004-03-08: Version 1.3 moves the webpage to humdi.net and includes a man page.
  • 2009-04-12: Version 1.7 adds daemon support, PNG image output, XML output, and BSD support.
  • 2014-08-30: Version 1.12 adds service-manager examples and deprecates cron update examples.
  • 2018-10-21: Version 2.0 replaces the legacy database format with SQLite.
  • 2025-02-08: Version 2.13 adds database merge support and more query/image-output improvements.

Related projects

  • vnStat sits near tools such as `ifconfig`, `/proc/net/dev`, BSD interface counters, and graphing/reporting front ends. Its own suite includes `vnstatd` for collection and `vnstati` for image rendering.

Sources

  • vnStat CHANGES: https://raw.githubusercontent.com/vergoh/vnstat/master/CHANGES
  • vnStat README: https://raw.githubusercontent.com/vergoh/vnstat/master/README.md
  • vnStat homepage: https://humdi.net/vnstat/

security posture

Risk level: orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

Signals

  • metadata:service
  • text:network

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/vnstat.conf~/.vnstatrc

executables

Installed executables

CommandKindExposureNote
vnstatcliglobal executable
vnstatdcliglobal executable
vnstaticliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.13
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://humdi.net/vnstat/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://humdi.net/vnstat/none confidence

install metadata

Package metadata

Package keybrew:vnstat
Version2.13
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/vnstat
Homepagehttps://humdi.net/vnstat/
Repositoryhttps://github.com/vergoh/vnstat
Upstream docshttps://humdi.net/vnstat/man/vnstat.html
LicenseGPL-2.0-only
Source archivehttps://humdi.net/vnstat/vnstat-2.13.tar.gz
Dependenciesgd
Uses from macOSsqlite
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared
CaveatsTo monitor interfaces other than "en0" edit $HOMEBREW_PREFIX/etc/vnstat.conf

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namevnstat
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

vnstat 2.13-1

console-based network traffic monitor

https://humdi.net/vnstat/

sudo apt install vnstat
  • Section: net
  • Architecture: amd64
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Vnstat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: vnstat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

vnstati 2.13-1

image output support for vnStat

https://humdi.net/vnstat/

sudo apt install vnstati
  • Section: net
  • Architecture: amd64
  • Source Package: vnstat
  • 4 dependencies
  • normalized package name match
  • Matched by: Vnstat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: vnstati from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

vnstat

nix profile install nixpkgs#vnstat
  • normalized package name match
  • Matched by: Vnstat
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/vn/vnstat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

vnstat 2.12-1

console-based network traffic monitor

https://humdi.net/vnstat/

sudo apt install vnstat
  • Section: universe/net
  • Architecture: amd64
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Vnstat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: vnstat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

vnstati 2.12-1

image output support for vnStat

https://humdi.net/vnstat/

sudo apt install vnstati
  • Section: universe/net
  • Architecture: amd64
  • Source Package: vnstat
  • 4 dependencies
  • normalized package name match
  • Matched by: Vnstat
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: vnstati from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

vnstat 2.13-r1

Console-based network traffic monitor

https://humdi.net/vnstat

sudo apk add vnstat
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: vnstat
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Vnstat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: vnstat from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

vnstat-doc 2.13-r1

Console-based network traffic monitor (documentation)

https://humdi.net/vnstat

sudo apk add vnstat-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: vnstat
  • normalized package name match
  • Matched by: Vnstat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: vnstat-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

vnstat-openrc 2.13-r1

Console-based network traffic monitor (OpenRC init scripts)

https://humdi.net/vnstat

sudo apk add vnstat-openrc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: vnstat
  • normalized package name match
  • Matched by: Vnstat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: vnstat-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

vnstat-systemd 2.13-r1

Console-based network traffic monitor (systemd files)

https://humdi.net/vnstat

sudo apk add vnstat-systemd
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: vnstat
  • normalized package name match
  • Matched by: Vnstat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: vnstat-systemd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

vnstat 2.13-2.fc44

Console-based network traffic monitor

http://humdi.net/vnstat/

sudo dnf install vnstat
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: vnstat
  • 8 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Vnstat
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: vnstat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

vnstat-vnstati 2.13-2.fc44

Image output support for vnstat

http://humdi.net/vnstat/

sudo dnf install vnstat-vnstati
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: vnstat
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Vnstat
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: vnstat-vnstati from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

vnstat 2.13-2

A console-based network traffic monitor

https://humdi.net/vnstat/

sudo pacman -S vnstat
  • License: GPL
  • Architecture: x86_64
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Vnstat
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: vnstat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

vnstat 2.13-1.4

Network Traffic Monitor

https://humdi.net/vnstat

sudo zypper install vnstat
  • License: GPL-2.0-only
  • Category: Productivity/Networking/Diagnostic
  • Architecture: x86_64
  • Source Package: vnstat
  • 8 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Vnstat
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: vnstat from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

vnstat-cgi 2.13-1.4

Graph Visualization CGI Script for vnstat

https://humdi.net/vnstat

sudo zypper install vnstat-cgi
  • License: GPL-2.0-only
  • Category: Productivity/Networking/Diagnostic
  • Architecture: x86_64
  • Source Package: vnstat
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Vnstat
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: vnstat-cgi from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

vnstat

sudo port install vnstat
  • normalized package name match
  • Matched by: Vnstat
MacPorts ports tree · api.github.com · MacPorts ports tree: net/vnstat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment