vnstat

Install command:
brew install vnstat

Console-based network traffic monitor

https://humdi.net/vnstat/

License: GPL-2.0-only

Formula JSON API: /api/formula/vnstat.json

Formula code: vnstat.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 2.12
head ⚡️ HEAD

Depends on:

gd 2.3.3 Graphics library to dynamically manipulate images
To monitor interfaces other than "en0" edit $HOMEBREW_PREFIX/etc/vnstat.conf

Analytics:

Installs (30 days)
vnstat 102
Installs on Request (30 days)
vnstat 101
Build Errors (30 days)
vnstat 12
Installs (90 days)
vnstat 323
Installs on Request (90 days)
vnstat 322
Installs (365 days)
vnstat 2,062
vnstat --HEAD 7
Installs on Request (365 days)
vnstat 2,060
vnstat --HEAD 7
Fork me on GitHub