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 sequoia
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 87
Installs on Request (30 days)
vnstat 87
Build Errors (30 days)
vnstat 0
Installs (90 days)
vnstat 285
vnstat --HEAD 2
Installs on Request (90 days)
vnstat 285
vnstat --HEAD 2
Installs (365 days)
vnstat 1,762
vnstat --HEAD 8
Installs on Request (365 days)
vnstat 1,760
vnstat --HEAD 8
Fork me on GitHub