Automic VaultAutomic Vault

brew

vnstat を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

vnstat のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install vnstat

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install vnstat

MacPorts ports tree · net/vnstat/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add vnstat

Alpine Linux edge package indexes · vnstat · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install vnstat

Debian stable package indexes · vnstat · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install vnstat

Fedora Rawhide package metadata · vnstat · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#vnstat

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

Arch Linux pacman確認済み · 92%
sudo pacman -S vnstat

Arch Linux sync databases · vnstat · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install vnstat

openSUSE Tumbleweed package metadata · vnstat · ソース: download.opensuse.org

概要

パッケージ概要

Console-based network traffic monitor

コマンドとエイリアス

  • vnstat
  • vnstatd
  • vnstati

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

ソース

  • 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/

セキュリティ状態

リスクレベル: orange

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

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

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

信号

  • metadata:service
  • text:network

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • formula メタデータがサービスまたはデーモンブロックを宣言しています。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
vnstatcliグローバル実行可能ファイル
vnstatdcliグローバル実行可能ファイル
vnstaticliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版2.13
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://humdi.net/vnstat/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://humdi.net/vnstat/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:vnstat
バージョン2.13
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/vnstat
ホームページhttps://humdi.net/vnstat/
リポジトリhttps://github.com/vergoh/vnstat
上流ドキュメントhttps://humdi.net/vnstat/man/vnstat.html
ライセンスGPL-2.0-only
ソースアーカイブhttps://humdi.net/vnstat/vnstat-2.13.tar.gz
依存関係gd
macOS 提供ライブラリsqlite
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービスdeclared
注意点To monitor interfaces other than "en0" edit $HOMEBREW_PREFIX/etc/vnstat.conf

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

vnstat 2.13-1

console-based network traffic monitor

https://humdi.net/vnstat/

sudo apt install vnstat
  • Section: net
  • Architecture: amd64
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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